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

Unified Diff: gpu/tools/compositor_model_bench/compositor_model_bench.cc

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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
« no previous file with comments | « gpu/tools/compositor_model_bench/BUILD.gn ('k') | gpu/tools/tools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/tools/compositor_model_bench/compositor_model_bench.cc
diff --git a/gpu/tools/compositor_model_bench/compositor_model_bench.cc b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
index 4d77353fa02bc49d4d822475d8b1b60faebdfff6..dca35a7b3fa3ca68b247bb04cd62c48cdfa87a0f 100644
--- a/gpu/tools/compositor_model_bench/compositor_model_bench.cc
+++ b/gpu/tools/compositor_model_bench/compositor_model_bench.cc
@@ -35,7 +35,7 @@
#include "gpu/tools/compositor_model_bench/render_model_utils.h"
#include "gpu/tools/compositor_model_bench/render_models.h"
#include "gpu/tools/compositor_model_bench/render_tree.h"
-#include "ui/gl/gl_surface.h"
+#include "ui/gl/init/gl_factory.h"
using base::TimeTicks;
using base::DirectoryExists;
@@ -186,8 +186,8 @@ class Simulator {
// Initialize the OpenGL context.
bool InitGLContext() {
- if (!gfx::GLSurface::InitializeOneOff()) {
- LOG(FATAL) << "gfx::GLSurface::InitializeOneOff failed";
+ if (!gl::init::InitializeGLOneOff()) {
+ LOG(FATAL) << "gl::init::InitializeGLOneOff failed";
return false;
}
« no previous file with comments | « gpu/tools/compositor_model_bench/BUILD.gn ('k') | gpu/tools/tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698