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

Unified Diff: Source/core/dom/Document.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/ContainerNode.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 4a62c60ea786afdab9071e907be2d700ad34d7eb..43226e4f088d6f43fc46f71e9578b0dfb19de206 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -440,7 +440,7 @@ public:
void scheduleUseShadowTreeUpdate(SVGUseElement&);
void unscheduleUseShadowTreeUpdate(SVGUseElement&);
- // FIXME: SVG filters should change to store the filter on the LayoutStyle
+ // FIXME: SVG filters should change to store the filter on the ComputedStyle
// instead of the LayoutObject so we can get rid of this hack.
void scheduleSVGFilterLayerUpdateHack(Element&);
void unscheduleSVGFilterLayerUpdateHack(Element&);
@@ -467,7 +467,7 @@ public:
// Special support for editing
PassRefPtrWillBeRawPtr<Text> createEditingTextNode(const String&);
- void setupFontBuilder(LayoutStyle& documentStyle);
+ void setupFontBuilder(ComputedStyle& documentStyle);
bool needsRenderTreeUpdate() const;
void updateRenderTreeIfNeeded() { updateRenderTree(NoChange); }
@@ -478,8 +478,8 @@ public:
RunPostLayoutTasksSynchronously,
};
void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayoutTasksAsyhnchronously);
- PassRefPtr<LayoutStyle> styleForElementIgnoringPendingStylesheets(Element*);
- PassRefPtr<LayoutStyle> styleForPage(int pageIndex);
+ PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*);
+ PassRefPtr<ComputedStyle> styleForPage(int pageIndex);
// Returns true if page box (margin boxes and page borders) is visible.
bool isPageBoxVisible(int pageIndex);
@@ -787,7 +787,7 @@ public:
// that as the style for the root element, rather than obtaining it on our own. The reason for
// this is that style may not have been associated with the elements yet - in which case it may
// have been calculated on the fly (without associating it with the actual element) somewhere.
- Element* viewportDefiningElement(const LayoutStyle* rootStyle = nullptr) const;
+ Element* viewportDefiningElement(const ComputedStyle* rootStyle = nullptr) const;
DocumentMarkerController& markers() const { return *m_markers; }
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698