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

Unified Diff: Source/core/rendering/shapes/ShapeOutsideInfo.cpp

Issue 463123003: Cleanup namespace usage in Source/core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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: Source/core/rendering/shapes/ShapeOutsideInfo.cpp
diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
index 81bae101e3385ce8671fecbda285b9393ac73a62..725a3b5aff3a8615ccbc8c79d70a7140bb570767 100644
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
@@ -111,7 +111,7 @@ static bool isValidRasterShapeRect(const LayoutRect& rect)
static double maxImageSizeBytes = 0;
if (!maxImageSizeBytes) {
size_t size32MaxBytes = 0xFFFFFFFF / 4; // Some platforms don't limit maxDecodedImageBytes.
- maxImageSizeBytes = std::min(size32MaxBytes, blink::Platform::current()->maxDecodedImageBytes());
+ maxImageSizeBytes = std::min(size32MaxBytes, Platform::current()->maxDecodedImageBytes());
}
return (rect.width().toFloat() * rect.height().toFloat() * 4.0) < maxImageSizeBytes;
}
@@ -347,4 +347,4 @@ FloatSize ShapeOutsideInfo::shapeToRendererSize(FloatSize size) const
return size;
}
-}
+} // namespace blink
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | Source/core/rendering/style/FillLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698