Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: Source/bindings/v8/V8PerIsolateData.cpp

Issue 219673002: Remove defunct LSAN leak annotation in ensureDomInJSContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698