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

Unified Diff: Source/core/dom/LayoutTreeBuilder.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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 | « Source/core/dom/Fullscreen.cpp ('k') | Source/core/dom/LayoutTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LayoutTreeBuilder.h
diff --git a/Source/core/dom/LayoutTreeBuilder.h b/Source/core/dom/LayoutTreeBuilder.h
index a43b0f82b258e4c9a1848c664d160fbe1b21975d..02c12a4949f55ebeda74c3c503bfd51fef4db767 100644
--- a/Source/core/dom/LayoutTreeBuilder.h
+++ b/Source/core/dom/LayoutTreeBuilder.h
@@ -37,7 +37,7 @@
namespace blink {
class LayoutObject;
-class LayoutStyle;
+class ComputedStyle;
template <typename NodeType>
class LayoutTreeBuilder {
@@ -77,7 +77,7 @@ protected:
class LayoutTreeBuilderForElement : public LayoutTreeBuilder<Element> {
public:
- LayoutTreeBuilderForElement(Element&, LayoutStyle*);
+ LayoutTreeBuilderForElement(Element&, ComputedStyle*);
void createLayoutObjectIfNeeded()
{
@@ -89,10 +89,10 @@ private:
LayoutObject* parentLayoutObject() const;
LayoutObject* nextLayoutObject() const;
bool shouldCreateLayoutObject() const;
- LayoutStyle& style() const;
+ ComputedStyle& style() const;
void createLayoutObject();
- mutable RefPtr<LayoutStyle> m_style;
+ mutable RefPtr<ComputedStyle> m_style;
};
class LayoutTreeBuilderForText : public LayoutTreeBuilder<Text> {
« no previous file with comments | « Source/core/dom/Fullscreen.cpp ('k') | Source/core/dom/LayoutTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698