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

Unified Diff: Source/core/rendering/RenderPart.h

Issue 714303003: Move painting code from RenderPart to PartPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/rendering/RenderPart.h
diff --git a/Source/core/rendering/RenderPart.h b/Source/core/rendering/RenderPart.h
index bb600bbb2520028ad6552f5665c266f9cd4e4266..8522455f1a746761672e8672fa0f0c21ee95729c 100644
--- a/Source/core/rendering/RenderPart.h
+++ b/Source/core/rendering/RenderPart.h
@@ -53,6 +53,7 @@ public:
bool updateWidgetGeometry();
virtual bool isRenderPart() const override final { return true; }
+ virtual void paintContents(PaintInfo&, const LayoutPoint&);
protected:
virtual LayerType layerTypeRequired() const override;
@@ -60,7 +61,6 @@ protected:
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
virtual void layout() override;
virtual void paint(PaintInfo&, const LayoutPoint&) override;
- virtual void paintContents(PaintInfo&, const LayoutPoint&);
virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const override final;
private:

Powered by Google App Engine
This is Rietveld 408576698