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, |