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

Unified Diff: ui/ozone/platform/dri/ozone_platform_dri.cc

Issue 698293002: ozone: Add PRESUBMIT.py to check patch formatting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « ui/ozone/platform/dri/native_display_delegate_proxy.cc ('k') | ui/ozone/platform/dri/ozone_platform_gbm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/ozone_platform_dri.cc
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.cc b/ui/ozone/platform/dri/ozone_platform_dri.cc
index 63750e274b857950671a098d740aeac93188caeb..9f47ef18ee8a71b96a04d430d3bad0b938ef4e57 100644
--- a/ui/ozone/platform/dri/ozone_platform_dri.cc
+++ b/ui/ozone/platform/dri/ozone_platform_dri.cc
@@ -66,11 +66,8 @@ class OzonePlatformDri : public OzonePlatform {
PlatformWindowDelegate* delegate,
const gfx::Rect& bounds) override {
scoped_ptr<DriWindow> platform_window(
- new DriWindow(delegate,
- bounds,
- gpu_platform_support_host_.get(),
- event_factory_ozone_.get(),
- window_manager_.get()));
+ new DriWindow(delegate, bounds, gpu_platform_support_host_.get(),
+ event_factory_ozone_.get(), window_manager_.get()));
platform_window->Initialize();
return platform_window.Pass();
}
@@ -83,11 +80,9 @@ class OzonePlatformDri : public OzonePlatform {
dri_->Initialize();
surface_factory_ozone_.reset(new DriSurfaceFactory(
dri_.get(), screen_manager_.get(), &window_delegate_manager_));
- gpu_platform_support_.reset(
- new DriGpuPlatformSupport(surface_factory_ozone_.get(),
- &window_delegate_manager_,
- screen_manager_.get(),
- scoped_ptr<NativeDisplayDelegateDri>()));
+ gpu_platform_support_.reset(new DriGpuPlatformSupport(
+ surface_factory_ozone_.get(), &window_delegate_manager_,
+ screen_manager_.get(), scoped_ptr<NativeDisplayDelegateDri>()));
gpu_platform_support_host_.reset(new DriGpuPlatformSupportHost());
cursor_factory_ozone_.reset(new BitmapCursorFactoryOzone);
window_manager_.reset(new DriWindowManager(surface_factory_ozone_.get()));
« no previous file with comments | « ui/ozone/platform/dri/native_display_delegate_proxy.cc ('k') | ui/ozone/platform/dri/ozone_platform_gbm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698