Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: mojo/examples/surfaces_app/embedder.cc

Issue 404563005: Make RenderPass::Id an isolated class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more case in mojo Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/examples/surfaces_app/embedder.cc
diff --git a/mojo/examples/surfaces_app/embedder.cc b/mojo/examples/surfaces_app/embedder.cc
index 189671756a440fec1196c265c2426cba7170dd69..683d4b9200a44df4fc2dac4707215938f31bb2c5 100644
--- a/mojo/examples/surfaces_app/embedder.cc
+++ b/mojo/examples/surfaces_app/embedder.cc
@@ -20,6 +20,7 @@ namespace mojo {
namespace examples {
using cc::RenderPass;
+using cc::RenderPassId;
using cc::SurfaceDrawQuad;
using cc::DrawQuad;
using cc::SolidColorDrawQuad;
@@ -38,7 +39,7 @@ void Embedder::ProduceFrame(cc::SurfaceId child_one,
const gfx::Size& size,
int offset) {
gfx::Rect rect(size);
- RenderPass::Id pass_id(1, 1);
+ RenderPassId pass_id(1, 1);
scoped_ptr<RenderPass> pass = RenderPass::Create();
pass->SetNew(pass_id, rect, rect, gfx::Transform());
« no previous file with comments | « mojo/examples/surfaces_app/child_impl.cc ('k') | mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698