With the new direct update, we are setting directly the layers position;
but for ScrollableLayer, we already set their position in the UI, so for
them their webkit counterpart is actually older/wrong.
The fix consists simply in not updating the positioning of
ScrollableLayer.
bug:
5421867
Change-Id: Ia14e41aff641173a45ed898cd3b3eceab3f7bd7a
// such as the position, the transform. Return true if anything more
// complex is needed.
bool updateWithTree(LayerAndroid*);
- bool updateWithLayer(LayerAndroid*);
+ virtual bool updateWithLayer(LayerAndroid*);
SkBitmapRef* imageRef() { return m_imageRef; }
ImageTexture* imageTexture() { return m_imageTexture; }
virtual LayerAndroid* copy() const { return new ScrollableLayerAndroid(*this); }
+ virtual bool updateWithLayer(LayerAndroid*) { return true; }
+
// Scrolls to the given position in the layer.
// Returns whether or not any scrolling was required.
bool scrollTo(int x, int y);