| Index: Source/bindings/v8/V8PerIsolateData.cpp
|
| diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp
|
| index 0f2063dfb0a1bce293417d86bb2d7c4aaab28f05..2de1168c9c507d1376fbeb263ece0789a053d891 100644
|
| --- a/Source/bindings/v8/V8PerIsolateData.cpp
|
| +++ b/Source/bindings/v8/V8PerIsolateData.cpp
|
| @@ -34,7 +34,6 @@
|
| #include "bindings/v8/V8ObjectConstructor.h"
|
| #include "bindings/v8/V8PerContextData.h"
|
| #include "bindings/v8/V8ScriptRunner.h"
|
| -#include "wtf/LeakAnnotations.h"
|
| #include "wtf/MainThread.h"
|
|
|
| namespace WebCore {
|
| @@ -129,11 +128,8 @@ void V8PerIsolateData::setDOMTemplate(void* domTemplateKey, v8::Handle<v8::Funct
|
|
|
| v8::Local<v8::Context> V8PerIsolateData::ensureDomInJSContext()
|
| {
|
| - if (!m_domInJSPerContextData) {
|
| + if (!m_domInJSPerContextData)
|
| m_domInJSPerContextData = V8PerContextData::create(v8::Context::New(m_isolate), DOMWrapperWorld::create());
|
| - // The V8PerContextData is collected via a weak reference callback from the V8Context, which is expected to not always shutdown cleanly.
|
| - WTF_ANNOTATE_LEAKING_OBJECT_PTR(m_domInJSPerContextData.get());
|
| - }
|
| return m_domInJSPerContextData->context();
|
| }
|
|
|
|
|