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

Unified Diff: ui/aura/bench/bench_main.cc

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « ppapi/shared_impl/ppb_gamepad_shared.h ('k') | ui/base/ime/composition_underline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/bench/bench_main.cc
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
index a8dd5379983d2dbec54a7edde2b6d2778c36175f..372c17a8c15f6ae594854cc0889201897dd16e28 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -44,7 +44,7 @@ using base::TimeTicks;
using ui::Compositor;
using ui::Layer;
using ui::LayerDelegate;
-using WebKit::WebGraphicsContext3D;
+using blink::WebGraphicsContext3D;
namespace {
@@ -210,7 +210,7 @@ class WebGLBench : public BenchCompositorObserver {
context_provider_ =
ui::ContextFactory::GetInstance()->SharedMainThreadContextProvider();
- WebKit::WebGraphicsContext3D* context = context_provider_->Context3d();
+ blink::WebGraphicsContext3D* context = context_provider_->Context3d();
context->makeContextCurrent();
texture_ = new WebGLTexture(context, bounds.size());
fbo_ = context->createFramebuffer();
@@ -235,7 +235,7 @@ class WebGLBench : public BenchCompositorObserver {
virtual void Draw() OVERRIDE {
if (do_draw_) {
- WebKit::WebGraphicsContext3D* context = context_provider_->Context3d();
+ blink::WebGraphicsContext3D* context = context_provider_->Context3d();
context->makeContextCurrent();
context->clearColor((frames() % kFrames)*1.0/kFrames, 1.f, 0.f, 1.f);
context->clear(GL_COLOR_BUFFER_BIT);
« no previous file with comments | « ppapi/shared_impl/ppb_gamepad_shared.h ('k') | ui/base/ime/composition_underline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698