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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontTest.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build 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
Index: third_party/WebKit/Source/platform/fonts/FontTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontTest.cpp b/third_party/WebKit/Source/platform/fonts/FontTest.cpp
index 29a0f58d7b27cf66a0170e165d6e8d6883c7cacb..78a19e4b8a0ecba1f9d4738cd33daf1dd1f6fe4f 100644
--- a/third_party/WebKit/Source/platform/fonts/FontTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontTest.cpp
@@ -4,6 +4,7 @@
#include "platform/fonts/Font.h"
+#include "platform/graphics/paint/PaintFlags.h"
#include "platform/testing/FontTestHelpers.h"
#include "platform/testing/UnitTestHelpers.h"
#include "platform/text/TextRun.h"
@@ -27,7 +28,7 @@ TEST(FontTest, TextIntercepts) {
0x70, 0xc9, 0x70, 0xc9};
TextRun ahemAboveBelowBaseline(ahemAboveBelowBaselineString, 9);
TextRunPaintInfo textRunPaintInfo(ahemAboveBelowBaseline);
- SkPaint defaultPaint;
+ PaintFlags defaultPaint;
float deviceScaleFactor = 1;
std::tuple<float, float> belowBaselineBounds = std::make_tuple(2, 4);

Powered by Google App Engine
This is Rietveld 408576698