diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2011-07-14 15:13:53 -0700 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2011-07-14 16:05:01 -0700 |
commit | 7e6e4dd41950ef98c67ee99be2d67daf563009ca (patch) | |
tree | dfcb3b4553a47b1c830aeb722d14b4aaad4449b9 /Source/WebCore/rendering/RenderLayerBacking.h | |
parent | 5dcd286d3e3e60f6a090f775a1fdceb40f578b75 (diff) | |
download | external_webkit-7e6e4dd41950ef98c67ee99be2d67daf563009ca.zip external_webkit-7e6e4dd41950ef98c67ee99be2d67daf563009ca.tar.gz external_webkit-7e6e4dd41950ef98c67ee99be2d67daf563009ca.tar.bz2 |
Add android specific virtual function to GraphicsLayerClient.
This lets the GraphicsLayerClient instance decides whether it has
owning RenderLayer, instead of using static_cast.
This makes overflow'ed iframe scrollable again.
This change also reverts Tenghui's CL:
https://android-git.corp.google.com/g/#change,115508
Tested on scrollable iframe and inline video.
issue: 4902019
Change-Id: I252f5432b0750c5cac0a4404663e1730ef006cfc
Diffstat (limited to 'Source/WebCore/rendering/RenderLayerBacking.h')
-rw-r--r-- | Source/WebCore/rendering/RenderLayerBacking.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderLayerBacking.h b/Source/WebCore/rendering/RenderLayerBacking.h index f1b8972..9e68209 100644 --- a/Source/WebCore/rendering/RenderLayerBacking.h +++ b/Source/WebCore/rendering/RenderLayerBacking.h @@ -59,6 +59,9 @@ public: RenderLayerBacking(RenderLayer*); ~RenderLayerBacking(); +#if PLATFORM(ANDROID) + virtual +#endif RenderLayer* owningLayer() const { return m_owningLayer; } enum UpdateDepth { CompositingChildren, AllDescendants }; |