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

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

Issue 2850173003: Move LengthSizes border-*-radius out of BorderData (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/core/style/CachedUAStyle.h
diff --git a/third_party/WebKit/Source/core/style/CachedUAStyle.h b/third_party/WebKit/Source/core/style/CachedUAStyle.h
index 631ff23b88cf38e175a07ee7525c50120c0858cd..41344180e8ac0db20ce03d8f4ed2ccac5b99538a 100644
--- a/third_party/WebKit/Source/core/style/CachedUAStyle.h
+++ b/third_party/WebKit/Source/core/style/CachedUAStyle.h
@@ -45,12 +45,20 @@ class CachedUAStyle {
}
BorderData border;
+ LengthSize top_left_;
+ LengthSize top_right_;
+ LengthSize bottom_left_;
+ LengthSize bottom_right_;
FillLayer background_layers;
StyleColor background_color;
private:
explicit CachedUAStyle(const ComputedStyle* style)
: border(style->Border()),
+ top_left_(style->BorderTopLeftRadius()),
+ top_right_(style->BorderTopRightRadius()),
+ bottom_left_(style->BorderBottomLeftRadius()),
+ bottom_right_(style->BorderBottomRightRadius()),
background_layers(style->BackgroundLayers()),
background_color(style->BackgroundColor()) {}
};
« no previous file with comments | « third_party/WebKit/Source/core/style/BorderData.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698