| Index: third_party/WebKit/Source/core/paint/TextPainterTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TextPainterTest.cpp b/third_party/WebKit/Source/core/paint/TextPainterTest.cpp
|
| index d5cd80ec34114f65b531be1c974347fb8b1580a4..44fbf6ded978852b714e8b6300e95e993d593818 100644
|
| --- a/third_party/WebKit/Source/core/paint/TextPainterTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TextPainterTest.cpp
|
| @@ -129,7 +129,7 @@ TEST_F(TextPainterTest,
|
| document().body()->setInlineStyleProperty(CSSPropertyWebkitPrintColorAdjust,
|
| CSSValueEconomy);
|
| document().settings()->setShouldPrintBackgrounds(false);
|
| - document().setPrinting(true);
|
| + document().setPrinting(Document::Printing);
|
| document().view()->updateAllLifecyclePhases();
|
|
|
| TextPainter::Style textStyle = TextPainter::textPaintingStyle(
|
| @@ -150,7 +150,7 @@ TEST_F(TextPainterTest, TextPaintingStyle_ForceBackgroundToWhite_Darkened) {
|
| document().body()->setInlineStyleProperty(CSSPropertyWebkitPrintColorAdjust,
|
| CSSValueEconomy);
|
| document().settings()->setShouldPrintBackgrounds(false);
|
| - document().setPrinting(true);
|
| + document().setPrinting(Document::Printing);
|
| document().view()->updateAllLifecyclePhases();
|
|
|
| TextPainter::Style textStyle = TextPainter::textPaintingStyle(
|
|
|