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

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

Issue 2755043002: Remove ComputedStyle::initializeBitDefaults(). (Closed)
Patch Set: Created 3 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 | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 9089008cba03a1d4d519d2ccb0c634c30ad192da..1a07e189c1ca942ee2389360984bf78d3f62f0f8 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -99,7 +99,7 @@ PassRefPtr<ComputedStyle> ComputedStyle::create() {
}
PassRefPtr<ComputedStyle> ComputedStyle::createInitialStyle() {
- return adoptRef(new ComputedStyle(InitialStyle));
+ return adoptRef(new ComputedStyle());
}
void ComputedStyle::invalidateInitialStyle() {
@@ -120,10 +120,8 @@ PassRefPtr<ComputedStyle> ComputedStyle::clone(const ComputedStyle& other) {
return adoptRef(new ComputedStyle(other));
}
-ALWAYS_INLINE ComputedStyle::ComputedStyle(InitialStyleTag)
+ALWAYS_INLINE ComputedStyle::ComputedStyle()
: ComputedStyleBase(), RefCounted<ComputedStyle>() {
- initializeBitDefaults();
-
m_box.init();
m_visual.init();
m_background.init();
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698