DescriptionAdd serialization/deserialization for FakePictureLayer for testing.
Previously we serialize/deserialize FakePictureLayer into PictureLayer.
This introduced an issue in LayerTreeHostTestReadyToActivateNonEmpty and
other unit test cases in layer_tree_host_unittests.cc that downcasting
from PictureLayerImpl to FakePictureLayerImpl will fail.
The data flow was:
FakePictureLayer==>PictureLayer==>PictureLayerImpl==>
FakePictureLayerImpl(downcast failure).
This CL adds procedure to process FakePictureLayer, so it can be
deserialized and down cast correctly.
The data flow becomes:
FakePictureLayer==>FakePictureLayer==>FakePictureLayerImpl
BUG=657871
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/b67229217f5b54fad888c74f6528be4af51e5a6e
Cr-Commit-Position: refs/heads/master@{#427886}
Patch Set 1 #Patch Set 2 : Some cleaning on FakePictureLayer. #
Total comments: 3
Patch Set 3 : Group up overrides in fake_picture_layer.h #
Total comments: 2
Patch Set 4 : Group up another Layer override. #Patch Set 5 : More cc unittests for LayerTreeHostRemote. #Patch Set 6 : Revert change from another CL, that I cl patch this one to that one. #
Messages
Total messages: 45 (30 generated)
|