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

Unified Diff: content/shell/test_runner/mock_web_theme_engine.cc

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 years, 10 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: content/shell/test_runner/mock_web_theme_engine.cc
diff --git a/components/test_runner/mock_web_theme_engine.cc b/content/shell/test_runner/mock_web_theme_engine.cc
similarity index 99%
rename from components/test_runner/mock_web_theme_engine.cc
rename to content/shell/test_runner/mock_web_theme_engine.cc
index 009836e46b86583e9cd469c41217cc64bdcd0b59..a7f45ca21774c0eec019e633a0a4a3d8e316ab06 100644
--- a/components/test_runner/mock_web_theme_engine.cc
+++ b/content/shell/test_runner/mock_web_theme_engine.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/test_runner/mock_web_theme_engine.h"
+#include "content/shell/test_runner/mock_web_theme_engine.h"
#if !defined(OS_MACOSX)
@@ -499,8 +499,8 @@ void MockWebThemeEngine::paint(blink::WebCanvas* canvas,
irect.fRight =
std::min(irect.fLeft + extraParams->menuList.arrowSize, irect.fRight);
- irect.fTop = extraParams->menuList.arrowY -
- (extraParams->menuList.arrowSize) / 2;
+ irect.fTop =
+ extraParams->menuList.arrowY - (extraParams->menuList.arrowSize) / 2;
irect.fBottom = irect.fTop + (extraParams->menuList.arrowSize);
halfWidth = irect.width() / 2;

Powered by Google App Engine
This is Rietveld 408576698