| Index: third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrameView.cpp b/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| index ecaa21a9b3bdffb7134d63f8369203b05e2244d2..d52c3301d03f7683da8d2d9509637072327b5ec0 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| @@ -3280,6 +3280,15 @@ void LocalFrameView::PaintTree() {
|
| GraphicsContext graphics_context(*paint_controller_);
|
| if (RuntimeEnabledFeatures::PrintBrowserEnabled())
|
| graphics_context.SetPrinting(true);
|
| +
|
| + if (Settings* settings = frame_->GetSettings()) {
|
| + HighContrastSettings high_contrast_settings;
|
| + high_contrast_settings.mode = settings->GetHighContrastMode();
|
| + high_contrast_settings.grayscale = settings->GetHighContrastGrayscale();
|
| + high_contrast_settings.contrast = settings->GetHighContrastContrast();
|
| + graphics_context.SetHighContrast(high_contrast_settings);
|
| + }
|
| +
|
| Paint(graphics_context, CullRect(LayoutRect::InfiniteIntRect()));
|
| paint_controller_->CommitNewDisplayItems();
|
| }
|
|
|