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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleRule.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/css/CSSStyleRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
index 7f638c677f63ca8f6dbc7a9a3c4bb68fa4475437..deb2c929dacc7ee9f55dede94e387d33f93c85d6 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
@@ -28,6 +28,7 @@
#include "core/css/StylePropertySet.h"
#include "core/css/StyleRule.h"
#include "core/css/parser/CSSParser.h"
+#include "wtf/LeakAnnotations.h"
#include "wtf/text/StringBuilder.h"
namespace blink {
@@ -36,6 +37,7 @@ using SelectorTextCache = WillBePersistentHeapHashMap<RawPtrWillBeWeakMember<con
static SelectorTextCache& selectorTextCache()
{
+ WTF_ANNOTATE_SCOPED_MEMORY_LEAK;
DEFINE_STATIC_LOCAL(SelectorTextCache, cache, ());
return cache;
}

Powered by Google App Engine
This is Rietveld 408576698