Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index c77d02b812307df643e30edd838337a3ca2a86e3..d582632d3cac0a1af625c23d7c76c07e2f3e2bfc 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -145,6 +145,12 @@ void SetDeviceScaleFactor(RenderView* render_view, float factor) { |
} |
void SetDeviceColorProfile(RenderView* render_view, const std::string& name) { |
+ if (name == "reset") { |
+ static_cast<RenderViewImpl*>(render_view)-> |
+ ResetDeviceColorProfileForTesting(); |
+ return; |
+ } |
+ |
std::vector<char> color_profile; |
struct TestColorProfile { |