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

Unified Diff: ui/ozone/platform/dri/dri_surface_factory_unittest.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/dri_surface_factory.cc ('k') | ui/ozone/platform/dri/dri_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_surface_factory_unittest.cc
diff --git a/ui/ozone/platform/dri/dri_surface_factory_unittest.cc b/ui/ozone/platform/dri/dri_surface_factory_unittest.cc
index 6a124c6de4f1c61d2d172ee41e641322b6127d85..84ec15938b801bd1cf0c3db18463dba0d8621bf0 100644
--- a/ui/ozone/platform/dri/dri_surface_factory_unittest.cc
+++ b/ui/ozone/platform/dri/dri_surface_factory_unittest.cc
@@ -59,6 +59,7 @@ class DriSurfaceFactoryTest : public testing::Test {
virtual void SetUp() override;
virtual void TearDown() override;
+
protected:
scoped_ptr<base::MessageLoop> message_loop_;
scoped_ptr<ui::MockDriWrapper> dri_;
@@ -78,8 +79,8 @@ void DriSurfaceFactoryTest::SetUp() {
screen_manager_.reset(new MockScreenManager(dri_.get(),
buffer_generator_.get()));
window_delegate_manager_.reset(new ui::DriWindowDelegateManager());
- factory_.reset(new ui::DriSurfaceFactory(
- dri_.get(), screen_manager_.get(), window_delegate_manager_.get()));
+ factory_.reset(new ui::DriSurfaceFactory(dri_.get(), screen_manager_.get(),
+ window_delegate_manager_.get()));
scoped_ptr<ui::DriWindowDelegate> window_delegate(
new ui::DriWindowDelegateImpl(ui::DriSurfaceFactory::kDefaultWidgetHandle,
@@ -133,9 +134,7 @@ TEST_F(DriSurfaceFactoryTest, SetCursorImage) {
std::vector<SkBitmap> cursor_bitmaps;
cursor_bitmaps.push_back(image);
factory_->SetHardwareCursor(ui::DriSurfaceFactory::kDefaultWidgetHandle,
- cursor_bitmaps,
- gfx::Point(4, 2),
- 0);
+ cursor_bitmaps, gfx::Point(4, 2), 0);
SkBitmap cursor;
// Buffers 0 and 1 are the cursor buffers.
« no previous file with comments | « ui/ozone/platform/dri/dri_surface_factory.cc ('k') | ui/ozone/platform/dri/dri_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698