Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebHeap.cpp
index 5b535a4..2b261dc 100644 (file)
 
 namespace blink {
 
-void WebHeap::attachThread()
-{
-    WebCore::ThreadState::attach();
-}
-
-void WebHeap::detachThread()
-{
-    WebCore::ThreadState::detach();
-}
-
 WebHeap::SafePointScope::SafePointScope()
 {
-    WebCore::ThreadState::current()->enterSafePointWithPointers(this);
+    blink::ThreadState::current()->enterSafePointWithPointers(this);
 }
 
 WebHeap::SafePointScope::~SafePointScope()
 {
-    WebCore::ThreadState::current()->leaveSafePoint();
+    blink::ThreadState::current()->leaveSafePoint();
 }
 
 } // namespace blink