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

Unified Diff: Source/core/html/shadow/ProgressShadowElement.h

Issue 23956012: Stop passing NodeRenderingContext except in textRendererIsNeeded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/core/html/shadow/MeterShadowElement.cpp ('k') | Source/core/html/shadow/ProgressShadowElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/ProgressShadowElement.h
diff --git a/Source/core/html/shadow/ProgressShadowElement.h b/Source/core/html/shadow/ProgressShadowElement.h
index 928dc7e54888c9712f8f12618caf8de96aeb892e..b375fcc88d7b48d6fc96a897d01506eb030977a5 100644
--- a/Source/core/html/shadow/ProgressShadowElement.h
+++ b/Source/core/html/shadow/ProgressShadowElement.h
@@ -45,7 +45,7 @@ public:
HTMLProgressElement* progressElement() const;
protected:
- virtual bool rendererIsNeeded(const NodeRenderingContext&);
+ virtual bool rendererIsNeeded(const RenderStyle&);
};
class ProgressInnerElement FINAL : public ProgressShadowElement {
@@ -56,7 +56,7 @@ private:
ProgressInnerElement(Document&);
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
- virtual bool rendererIsNeeded(const NodeRenderingContext&);
+ virtual bool rendererIsNeeded(const RenderStyle&);
};
inline PassRefPtr<ProgressInnerElement> ProgressInnerElement::create(Document& document)
« no previous file with comments | « Source/core/html/shadow/MeterShadowElement.cpp ('k') | Source/core/html/shadow/ProgressShadowElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698