| 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() {
|
|
|