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

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

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: fixes Created 4 years, 11 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: ui/aura/bench/bench_main.cc
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
index 918990a36796996a6a5f1ca8af321a104c054aaa..03f66cbe3f63c56f091a9d9f8e50b5365bbee05a 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -328,7 +328,7 @@ int main(int argc, char** argv) {
aura::Env::GetInstance()->set_context_factory(context_factory.get());
scoped_ptr<aura::TestScreen> test_screen(
aura::TestScreen::Create(GetFullscreenSize()));
- gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen.get());
+ gfx::Screen::SetScreenInstance(test_screen.get());
scoped_ptr<aura::WindowTreeHost> host(
test_screen->CreateHostForPrimaryDisplay());
aura::client::SetCaptureClient(

Powered by Google App Engine
This is Rietveld 408576698