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

Unified Diff: third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp

Issue 1491253004: Release Oilpan heap singletons prior to LSan leak detection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamings + switch to using LEAK_SANITIZER_DISABLED_SCOPE Created 5 years 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/CSSDefaultStyleSheets.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp
index ad829bc1d99588bb8d620d421d18e290daaddfbe..6eaed6ed024d1fd7b9cbc62d91725d709e859103 100644
--- a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp
+++ b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp
@@ -68,7 +68,7 @@ static PassRefPtrWillBeRawPtr<StyleSheetContents> parseUASheet(const String& str
sheet->parseString(str);
// User Agent stylesheets are parsed once for the lifetime of the renderer
// process and are intentionally leaked.
- WTF_ANNOTATE_LEAKING_OBJECT_PTR(sheet.get());
+ LEAK_SANITIZER_IGNORE_OBJECT(sheet.get());
haraken 2015/12/07 14:46:10 This is the only use case of WTF_ANNOTATE_LEAKING_
sof 2015/12/07 15:09:28 It is also used by Persistent*::registerAsStaticRe
sof 2015/12/07 16:59:16 Ah, this is just right as it is. The StyleSheetCon
return sheet.release();
}

Powered by Google App Engine
This is Rietveld 408576698