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

Unified Diff: content/test/layouttest_support.cc

Issue 2649023004: Have one ICCProfile per WebScreenInfo in Blink. (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « content/renderer/render_widget_owner_delegate.h ('k') | third_party/WebKit/public/platform/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 8f7c7722c13a72e0ecf3164e76fbbf1d879b5a29..e21ab4e226df90d19d531073931216b57e5fd65f 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -509,9 +509,8 @@ gfx::ICCProfile GetTestingICCProfile(const std::string& name) {
void SetDeviceColorProfile(
RenderView* render_view, const gfx::ICCProfile& icc_profile) {
- static_cast<RenderViewImpl*>(render_view)
- ->GetWidget()
- ->SetDeviceColorProfileForTesting(icc_profile);
+ static_cast<RenderViewImpl*>(render_view)->
+ SetDeviceColorProfileForTesting(icc_profile);
}
void SetTestBluetoothScanDuration() {
« no previous file with comments | « content/renderer/render_widget_owner_delegate.h ('k') | third_party/WebKit/public/platform/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698