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

Unified Diff: third_party/WebKit/Source/web/DevToolsEmulator.cpp

Issue 2389633002: reflow comments in web/ (Closed)
Patch Set: . Created 4 years, 2 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: third_party/WebKit/Source/web/DevToolsEmulator.cpp
diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
index 9c25ced6e4e428c6bf36034d882076d3d294d39b..9f2c93f05aae8d6fb1e17d6e84e46ef54097a9d2 100644
--- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
+++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
@@ -27,10 +27,12 @@ namespace {
static float calculateDeviceScaleAdjustment(int width,
int height,
float deviceScaleFactor) {
- // Chromium on Android uses a device scale adjustment for fonts used in text autosizing for
- // improved legibility. This function computes this adjusted value for text autosizing.
+ // Chromium on Android uses a device scale adjustment for fonts used in text
+ // autosizing for improved legibility. This function computes this adjusted
+ // value for text autosizing.
// For a description of the Android device scale adjustment algorithm, see:
- // chrome/browser/chrome_content_browser_client.cc, GetDeviceScaleAdjustment(...)
+ // chrome/browser/chrome_content_browser_client.cc,
+ // GetDeviceScaleAdjustment(...)
if (!width || !height || !deviceScaleFactor)
return 1;
@@ -343,7 +345,8 @@ void DevToolsEmulator::forceViewport(const WebFloatPoint& position,
if (!m_viewportOverride) {
m_viewportOverride = ViewportOverride();
- // Disable clipping on the visual viewport layer, to ensure the whole area is painted.
+ // Disable clipping on the visual viewport layer, to ensure the whole area
+ // is painted.
if (containerLayer) {
m_viewportOverride->originalVisualViewportMasking =
containerLayer->masksToBounds();
« no previous file with comments | « third_party/WebKit/Source/web/ContextMenuClientImpl.cpp ('k') | third_party/WebKit/Source/web/ExternalPopupMenu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698