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; |
}; |