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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 2787183002: Rename members of StyleSurroundData and ComputedStyle. (Closed)
Patch Set: Rebase 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 | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 26784f061487390f76c7d33cf5f21f1b656d67d9..149cb93de6d81c71d3af06833ce034636d9e96f8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -159,10 +159,10 @@ void LayoutTheme::adjustStyle(ComputedStyle& style, Element* e) {
// Padding
LengthBox paddingBox = m_platformTheme->controlPadding(
- part, style.font().getFontDescription(), style.paddingBox(),
+ part, style.font().getFontDescription(), style.padding(),
style.effectiveZoom());
- if (paddingBox != style.paddingBox())
- style.setPaddingBox(paddingBox);
+ if (paddingBox != style.padding())
+ style.setPadding(paddingBox);
// Whitespace
if (m_platformTheme->controlRequiresPreWhiteSpace(part))
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698