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

Unified Diff: Source/core/dom/ViewportDescription.cpp

Issue 460393003: Cleanup namespace usage in Source/core/{dom/* & fileapi/*} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Error and 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
« no previous file with comments | « Source/core/dom/RenderedDocumentMarker.h ('k') | Source/core/dom/VisitedLinkState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ViewportDescription.cpp
diff --git a/Source/core/dom/ViewportDescription.cpp b/Source/core/dom/ViewportDescription.cpp
index b2ae9d3714dc6e783da5a347a691b300241cd05a..c0b773a8d31c5ed6ce13b645ff223ac358bb2a44 100644
--- a/Source/core/dom/ViewportDescription.cpp
+++ b/Source/core/dom/ViewportDescription.cpp
@@ -223,16 +223,16 @@ void ViewportDescription::reportMobilePageStats(const LocalFrame* mainFrame) con
if (!isSpecifiedByAuthor()) {
if (mainFrame->document()->isMobileDocument())
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", XhtmlMobileProfile, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", XhtmlMobileProfile, TypeCount);
else
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", NoViewportTag, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", NoViewportTag, TypeCount);
return;
}
if (isMetaViewportType()) {
if (maxWidth.type() == blink::Fixed) {
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", ConstantWidth, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", ConstantWidth, TypeCount);
if (mainFrame->view()) {
// To get an idea of how "far" the viewport is from the device's ideal width, we
@@ -242,19 +242,19 @@ void ViewportDescription::reportMobilePageStats(const LocalFrame* mainFrame) con
? mainFrame->host()->pinchViewport().size().width()
: mainFrame->view()->frameRect().width();
int overviewZoomPercent = 100 * windowWidth / static_cast<float>(viewportWidth);
- blink::Platform::current()->histogramSparse("Viewport.OverviewZoom", overviewZoomPercent);
+ Platform::current()->histogramSparse("Viewport.OverviewZoom", overviewZoomPercent);
}
} else if (maxWidth.type() == blink::DeviceWidth || maxWidth.type() == blink::ExtendToZoom) {
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", DeviceWidth, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", DeviceWidth, TypeCount);
} else {
// Overflow bucket for cases we may be unaware of.
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", MetaWidthOther, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", MetaWidthOther, TypeCount);
}
} else if (type == ViewportDescription::HandheldFriendlyMeta) {
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", MetaHandheldFriendly, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", MetaHandheldFriendly, TypeCount);
} else if (type == ViewportDescription::MobileOptimizedMeta) {
- blink::Platform::current()->histogramEnumeration("Viewport.MetaTagType", MobileOptimizedMeta, TypeCount);
+ Platform::current()->histogramEnumeration("Viewport.MetaTagType", MobileOptimizedMeta, TypeCount);
}
#endif
}
« no previous file with comments | « Source/core/dom/RenderedDocumentMarker.h ('k') | Source/core/dom/VisitedLinkState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698