Changeset 190113 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Sep 22, 2015, 5:21:31 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r190022 r190113 177 177 }; 178 178 179 class ElementHandleOwner final: public WeakHandleOwner {179 class ElementHandleOwner : public WeakHandleOwner { 180 180 public: 181 virtual bool isReachableFromOpaqueRoots( JSCell& cell, void*, SlotVisitor& visitor)182 { 183 auto& element = jsCast<Element&>(cell);184 return visitor.containsOpaqueRoot(element .root());181 virtual bool isReachableFromOpaqueRoots(Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor) 182 { 183 Element* element = jsCast<Element*>(handle.slot()->asCell()); 184 return visitor.containsOpaqueRoot(element->root()); 185 185 } 186 186 };
Note:
See TracChangeset
for help on using the changeset viewer.