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

Unified Diff: Source/platform/Length.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/platform/Length.h ('k') | Source/platform/LengthBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Length.cpp
diff --git a/Source/platform/Length.cpp b/Source/platform/Length.cpp
index 4ba16e3e7ff81a0af8a2cc5c15bd8568b41bdcc3..5da3aba51ceb027299ab02305657eae3de17fdec 100644
--- a/Source/platform/Length.cpp
+++ b/Source/platform/Length.cpp
@@ -33,7 +33,7 @@
using namespace WTF;
-namespace WebCore {
+namespace blink {
template<typename CharType>
static unsigned splitLength(const CharType* data, unsigned length, unsigned& intLength, unsigned& doubleLength)
@@ -182,8 +182,8 @@ Length Length::blendMixedTypes(const Length& from, double progress, ValueRange r
ASSERT(isSpecified());
PixelsAndPercent fromPixelsAndPercent = from.pixelsAndPercent();
PixelsAndPercent toPixelsAndPercent = pixelsAndPercent();
- const float pixels = WebCore::blend(fromPixelsAndPercent.pixels, toPixelsAndPercent.pixels, progress);
- const float percent = WebCore::blend(fromPixelsAndPercent.percent, toPixelsAndPercent.percent, progress);
+ const float pixels = blink::blend(fromPixelsAndPercent.pixels, toPixelsAndPercent.pixels, progress);
+ const float percent = blink::blend(fromPixelsAndPercent.percent, toPixelsAndPercent.percent, progress);
return Length(CalculationValue::create(PixelsAndPercent(pixels, percent), range));
}
@@ -252,4 +252,4 @@ struct SameSizeAsLength {
};
COMPILE_ASSERT(sizeof(Length) == sizeof(SameSizeAsLength), length_should_stay_small);
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/platform/Length.h ('k') | Source/platform/LengthBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698