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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2299193005: Layout tests: Parameterize color space to use by default (Closed)
Patch Set: Actually specify generic Created 4 years, 3 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/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 81e77ccc4de6e411003cb6704a17887e81f42a2b..8cec34121dc3361bb05606c094d5da622c79c334 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -91,6 +91,7 @@
#include "third_party/WebKit/public/web/WebTestingSupport.h"
#include "third_party/WebKit/public/web/WebView.h"
#include "ui/gfx/geometry/rect.h"
+#include "ui/gfx/icc_profile.h"
using blink::Platform;
using blink::WebArrayBufferView;
@@ -507,7 +508,7 @@ bool BlinkTestRunner::IsUseZoomForDSFEnabled() {
}
void BlinkTestRunner::SetDeviceColorProfile(const std::string& name) {
- content::SetDeviceColorProfile(render_view(), name);
+ content::SetDeviceColorProfile(render_view(), GetTestingICCProfile(name));
}
void BlinkTestRunner::SetBluetoothFakeAdapter(const std::string& adapter_name,
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/shell/renderer/layout_test/layout_test_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698