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

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

Issue 2174703002: Organize public ComputedStyle methods by property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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/StyleBoxData.h
diff --git a/third_party/WebKit/Source/core/style/StyleBoxData.h b/third_party/WebKit/Source/core/style/StyleBoxData.h
index ae5b9bf11935db5bd225b027238ac808175db57e..6086d3730587d9e73b4db80e8c9e243518bd2cab 100644
--- a/third_party/WebKit/Source/core/style/StyleBoxData.h
+++ b/third_party/WebKit/Source/core/style/StyleBoxData.h
@@ -32,6 +32,9 @@
namespace blink {
+// TODO(sashab): Move this into a private class on ComputedStyle, and remove
+// all methods on it, merging them into copy/creation methods on ComputedStyle
+// instead. Keep the allocation logic, only allocating a new object if needed.
class StyleBoxData : public RefCounted<StyleBoxData> {
public:
static PassRefPtr<StyleBoxData> create() { return adoptRef(new StyleBoxData); }
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleBackgroundData.h ('k') | third_party/WebKit/Source/core/style/StyleInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698