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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp

Issue 2809983002: Fix g_k_* symbols after blink rename. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp b/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
index 14535bd4957fd1fef3b1ff7922c8a1fa3ae193e3..67abf4c8da35db9d808b1db6838c8fec38a1c569 100644
--- a/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
@@ -39,8 +39,8 @@
namespace blink {
-static float g_k_off_screen_canvas_em_font_size = 10.0;
-static float g_k_off_screen_canvas_rem_font_size = 16.0;
+static const float kOffScreenCanvasEmFontSize = 10.0;
+static const float kOffScreenCanvasRemFontSize = 16.0;
FilterOperation::OperationType FilterOperationResolver::FilterOperationForType(
CSSValueID type) {
@@ -217,8 +217,7 @@ FilterOperations FilterOperationResolver::CreateOffscreenFilterOperations(
FontDescription font_description;
Font font(font_description);
CSSToLengthConversionData::FontSizes font_sizes(
- g_k_off_screen_canvas_em_font_size, g_k_off_screen_canvas_rem_font_size,
- &font);
+ kOffScreenCanvasEmFontSize, kOffScreenCanvasRemFontSize, &font);
CSSToLengthConversionData::ViewportSize viewport_size(1024, 768);
CSSToLengthConversionData conversion_data(&ComputedStyle::InitialStyle(),
font_sizes, viewport_size, 1);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698