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

Unified Diff: third_party/WebKit/Source/core/style/StyleSurroundData.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/StyleSurroundData.h
diff --git a/third_party/WebKit/Source/core/style/StyleSurroundData.h b/third_party/WebKit/Source/core/style/StyleSurroundData.h
index c4dc2f3f040d1566999e02df10e9cbdf4a851da6..a060f9a63597b3468dc92b0bd9248c72c87812d8 100644
--- a/third_party/WebKit/Source/core/style/StyleSurroundData.h
+++ b/third_party/WebKit/Source/core/style/StyleSurroundData.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 StyleSurroundData : public RefCounted<StyleSurroundData> {
public:
static PassRefPtr<StyleSurroundData> create() { return adoptRef(new StyleSurroundData); }

Powered by Google App Engine
This is Rietveld 408576698