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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 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/TextControlInnerElements.h
diff --git a/Source/core/html/shadow/TextControlInnerElements.h b/Source/core/html/shadow/TextControlInnerElements.h
index a7ff7ae09ed4e79dd06b9b9f7ecaa4ea0b55a660..8c8b5330a9342f32f31cd80841d72cb7873b0533 100644
--- a/Source/core/html/shadow/TextControlInnerElements.h
+++ b/Source/core/html/shadow/TextControlInnerElements.h
@@ -38,7 +38,7 @@ public:
protected:
explicit TextControlInnerContainer(Document&);
- virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual RenderObject* createRenderer(const RenderStyle*) override;
};
class EditingViewPortElement final : public HTMLDivElement {
@@ -61,7 +61,7 @@ public:
private:
explicit TextControlInnerEditorElement(Document&);
- virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual RenderObject* createRenderer(const RenderStyle*) override;
virtual PassRefPtr<RenderStyle> customStyleForRenderer() override;
virtual bool supportsFocus() const override { return false; }
};

Powered by Google App Engine
This is Rietveld 408576698