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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2001453002: Set ComputedStyle on Node and use that in buildOwnLayout() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@storage
Patch Set: Remove any cases that are forcing the newStyle on the old LayoutObject Created 4 years, 3 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/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index ec5286049ac743cdaf991e470f281e1b96227e88..fc25bb239f924be1e978f3765374b519c8877d0f 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -527,6 +527,7 @@ public:
// Wrapper for nodes that don't have a layoutObject, but still cache the style (like HTMLOptionElement).
ComputedStyle* mutableComputedStyle() const;
const ComputedStyle* computedStyle() const;
+ void setComputedStyle(PassRefPtr<ComputedStyle>);
const ComputedStyle* parentComputedStyle() const;
const ComputedStyle& computedStyleRef() const;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementRareDataTest.cpp ('k') | third_party/WebKit/Source/core/dom/NodeComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698