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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2885983004: Remove DEFINE_STATIC_REF calls from header files (Closed)
Patch Set: Created 3 years, 7 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 | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 87412c89414ba14c8e169cd208df64602a5b7754..9d3bcb75b4850fc624022e9a0449220b9316a367 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -200,12 +200,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
static PassRefPtr<ComputedStyle> CreateInitialStyle();
// TODO(shend): Remove this. Initial style should not be mutable.
- static inline ComputedStyle& MutableInitialStyle() {
- LEAK_SANITIZER_DISABLED_SCOPE;
- DEFINE_STATIC_REF(ComputedStyle, initial_style,
- (ComputedStyle::CreateInitialStyle()));
- return *initial_style;
- }
+ static ComputedStyle& MutableInitialStyle();
public:
static PassRefPtr<ComputedStyle> Create();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698