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

Unified Diff: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm

Issue 2388793002: reflow comments in platform/mac (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/platform/mac/LocalCurrentGraphicsContext.mm
diff --git a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
index b427fca1ade32320b949b88940caf8cdeac67850..da5c2febb4ffbb0dc7298da0c8e83ba9a2baab0f 100644
--- a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
+++ b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
@@ -52,9 +52,10 @@ LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(
m_savedCanvas = canvas;
canvas->save();
- // Constrain the maximum size of what we paint to something reasonable. This accordingly
- // means we will not paint the entirety of truly huge native form elements, which is
- // deemed an acceptable tradeoff for this simple approach to manage such an edge case.
+ // Constrain the maximum size of what we paint to something reasonable. This
+ // accordingly means we will not paint the entirety of truly huge native form
+ // elements, which is deemed an acceptable tradeoff for this simple approach
+ // to manage such an edge case.
if (dirtyRect.width() > kMaxDirtyRectPixelSize ||
dirtyRect.height() > kMaxDirtyRectPixelSize)
canvas->clipRect(clampRect(kMaxDirtyRectPixelSize, dirtyRect),
« no previous file with comments | « third_party/WebKit/Source/platform/mac/KillRingMac.mm ('k') | third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698