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

Unified Diff: third_party/WebKit/Source/core/css/zoomAdjustedPixelValue.h

Issue 2801683005: Revert of Removing duplicate functions and symbol names in core/css (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 | « third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/zoomAdjustedPixelValue.h
diff --git a/third_party/WebKit/Source/core/css/zoomAdjustedPixelValue.h b/third_party/WebKit/Source/core/css/zoomAdjustedPixelValue.h
deleted file mode 100644
index 3ec7a97592ab33b9429948e506159c8aa1abdb24..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/zoomAdjustedPixelValue.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef zoomAdjustedPixelValue_h
-#define zoomAdjustedPixelValue_h
-
-#include "core/css/CSSPrimitiveValue.h"
-#include "core/style/ComputedStyle.h"
-
-namespace blink {
-class ComputedStyle;
-
-inline CSSPrimitiveValue* zoomAdjustedPixelValue(double value,
- const ComputedStyle& style) {
- return CSSPrimitiveValue::create(adjustFloatForAbsoluteZoom(value, style),
- CSSPrimitiveValue::UnitType::Pixels);
-}
-}
-#endif // zoomAdjustedPixelValue_h
« no previous file with comments | « third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698