diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/rendering/RenderHTMLCanvas.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/rendering/RenderHTMLCanvas.h')
-rw-r--r-- | WebCore/rendering/RenderHTMLCanvas.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/WebCore/rendering/RenderHTMLCanvas.h b/WebCore/rendering/RenderHTMLCanvas.h index 754b837..ad6c505 100644 --- a/WebCore/rendering/RenderHTMLCanvas.h +++ b/WebCore/rendering/RenderHTMLCanvas.h @@ -30,18 +30,22 @@ namespace WebCore { - class HTMLCanvasElement; +class HTMLCanvasElement; - class RenderHTMLCanvas : public RenderReplaced { - public: - RenderHTMLCanvas(HTMLCanvasElement*); +class RenderHTMLCanvas : public RenderReplaced { +public: + RenderHTMLCanvas(HTMLCanvasElement*); - virtual const char* renderName() const { return "RenderHTMLCanvas"; } + virtual const char* renderName() const { return "RenderHTMLCanvas"; } - virtual void paintReplaced(PaintInfo& paintInfo, int tx, int ty); + virtual void paintReplaced(PaintInfo& paintInfo, int tx, int ty); - void canvasSizeChanged(); - }; + void canvasSizeChanged(); + +protected: + virtual void intrinsicSizeChanged() { canvasSizeChanged(); } + +}; } // namespace WebCore |