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

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

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix 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
Index: Source/core/html/shadow/MeterShadowElement.h
diff --git a/Source/core/html/shadow/MeterShadowElement.h b/Source/core/html/shadow/MeterShadowElement.h
index a31426717ceacd3406f50649c1c60ed04c39eb90..6779768081d133d3bcaf2b3b77fcfce2527c4b44 100644
--- a/Source/core/html/shadow/MeterShadowElement.h
+++ b/Source/core/html/shadow/MeterShadowElement.h
@@ -41,7 +41,7 @@ class RenderMeter;
class MeterShadowElement : public HTMLDivElement {
protected:
- MeterShadowElement(Document*);
+ MeterShadowElement(Document&);
HTMLMeterElement* meterElement() const;
private:
@@ -50,30 +50,30 @@ private:
class MeterInnerElement FINAL : public MeterShadowElement {
public:
- static PassRefPtr<MeterInnerElement> create(Document*);
+ static PassRefPtr<MeterInnerElement> create(Document&);
private:
- MeterInnerElement(Document*);
+ MeterInnerElement(Document&);
virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
};
class MeterBarElement FINAL : public MeterShadowElement {
private:
- MeterBarElement(Document*);
+ MeterBarElement(Document&);
public:
- static PassRefPtr<MeterBarElement> create(Document*);
+ static PassRefPtr<MeterBarElement> create(Document&);
};
class MeterValueElement FINAL : public MeterShadowElement {
public:
- static PassRefPtr<MeterValueElement> create(Document*);
+ static PassRefPtr<MeterValueElement> create(Document&);
void setWidthPercentage(double);
void updatePseudo() { setPart(valuePseudoId()); }
private:
- MeterValueElement(Document*);
+ MeterValueElement(Document&);
const AtomicString& valuePseudoId() const;
};
« no previous file with comments | « Source/core/html/shadow/MediaControlsChromiumAndroid.cpp ('k') | Source/core/html/shadow/MeterShadowElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698