Fix html_viewer crash in cc when logging into gmail.
commit4d03fdf9c5496f8bc323dcea744f2542ddde4ab6
authorjam <jam@chromium.org>
Wed, 22 Apr 2015 02:21:20 +0000 (21 19:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Apr 2015 02:21:36 +0000 (22 02:21 +0000)
tree68ce8c47953c0a73668a936b919ade27182a83c3
parent1478b4b961aa1f326237d954bb5bfa086c361a7b
Fix html_viewer crash in cc when logging into gmail.

This started in r325086 which added checks to ensure that RenderPassDrawQuads have associated RenderPasses. The latter were sending their RenderPassId across IPC, while the former weren't. The fix is to ensure that RenderPass objects get serialized correctly across mojo IPC.

Also delete third_party/mojo_services/src/surfaces/public/cpp which is redundant with mojo/converters/surfaces.

BUG=479008

Review URL: https://codereview.chromium.org/1082723005

Cr-Commit-Position: refs/heads/master@{#326218}
components/view_manager/BUILD.gn
components/view_manager/display_manager.cc
mojo/converters/surfaces/surfaces_type_converters.cc
mojo/converters/surfaces/surfaces_utils.cc
mojo/converters/surfaces/tests/surface_unittest.cc
third_party/mojo_services/src/surfaces/public/cpp/BUILD.gn [deleted file]
third_party/mojo_services/src/surfaces/public/cpp/surfaces_utils.cc [deleted file]
third_party/mojo_services/src/surfaces/public/cpp/surfaces_utils.h [deleted file]
third_party/mojo_services/src/surfaces/public/interfaces/quads.mojom