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

Unified Diff: third_party/WebKit/Source/core/dom/ContextFeatures.cpp

Issue 1482683002: Trial: build trunk with Oilpan everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: have RemoteDOMWindow keep a weak ref back to its RemoteFrame Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/dom/ContextFeatures.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContextFeatures.cpp b/third_party/WebKit/Source/core/dom/ContextFeatures.cpp
index 33c0c9eba242a6307a66ba713e72c670051fec49..2d08791465ea3a83c0bb63e654bc195554ac48b3 100644
--- a/third_party/WebKit/Source/core/dom/ContextFeatures.cpp
+++ b/third_party/WebKit/Source/core/dom/ContextFeatures.cpp
@@ -30,6 +30,7 @@
#include "core/dom/Document.h"
#include "core/page/Page.h"
#include "platform/RuntimeEnabledFeatures.h"
+#include "wtf/LeakAnnotations.h"
namespace blink {
@@ -45,6 +46,7 @@ const char* ContextFeatures::supplementName()
ContextFeatures* ContextFeatures::defaultSwitch()
{
+ WTF_ANNOTATE_SCOPED_MEMORY_LEAK;
DEFINE_STATIC_REF_WILL_BE_PERSISTENT(ContextFeatures, instance, (ContextFeatures::create(ContextFeaturesClient::empty())));
return instance;
}

Powered by Google App Engine
This is Rietveld 408576698