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

Unified Diff: Source/core/html/shadow/MeterShadowElement.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/DetailsMarkerControl.cpp ('k') | Source/core/html/shadow/MeterShadowElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MeterShadowElement.h
diff --git a/Source/core/html/shadow/MeterShadowElement.h b/Source/core/html/shadow/MeterShadowElement.h
index 6779768081d133d3bcaf2b3b77fcfce2527c4b44..30bbd9c451cc22f0a70978fdeacbe85a44619cc6 100644
--- a/Source/core/html/shadow/MeterShadowElement.h
+++ b/Source/core/html/shadow/MeterShadowElement.h
@@ -45,7 +45,7 @@ protected:
HTMLMeterElement* meterElement() const;
private:
- virtual bool rendererIsNeeded(const NodeRenderingContext&);
+ virtual bool rendererIsNeeded(const RenderStyle&);
};
class MeterInnerElement FINAL : public MeterShadowElement {
@@ -54,7 +54,7 @@ public:
private:
MeterInnerElement(Document&);
- virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE;
+ virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
};
« no previous file with comments | « Source/core/html/shadow/DetailsMarkerControl.cpp ('k') | Source/core/html/shadow/MeterShadowElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698