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

Unified Diff: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm

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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
index cc5a05154ba5353a243c833fb0fe4cd6870a53ee..fbfb18d3f390393f8a5a09d20655962f2db50dd5 100644
--- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
+++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
@@ -68,8 +68,8 @@ static NSAttributedString* attributedSubstringFromRange(
unsigned position = 0;
- // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
- // see http://crbug.com/590369 for more details.
+ // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets
+ // needs to be audited. see http://crbug.com/590369 for more details.
range.startPosition()
.document()
->updateStyleAndLayoutIgnorePendingStylesheets();
@@ -95,7 +95,8 @@ static NSAttributedString* attributedSubstringFromRange(
// For now, just use the default font instead.
// TODO(rsesek): Change the font activation flags to allow other processes
// to use the font.
- // TODO(shuchen): Support scaling the font as necessary according to CSS transforms.
+ // TODO(shuchen): Support scaling the font as necessary according to CSS
+ // transforms.
if (!font ||
floor(fontPlatformData.size()) !=
floor([[font fontDescriptor] pointSize]))
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698