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

Unified Diff: Source/WebKit/chromium/src/mac/WebSubstringUtil.mm

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 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 | « no previous file | Source/core/accessibility/AccessibilityImageMapLink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/mac/WebSubstringUtil.mm
diff --git a/Source/WebKit/chromium/src/mac/WebSubstringUtil.mm b/Source/WebKit/chromium/src/mac/WebSubstringUtil.mm
index 2186f0e0c97d24d3201f2f51d0a5527912d7fe7d..cd53b6e9d10f38001c1e9017d7988d56242620a9 100644
--- a/Source/WebKit/chromium/src/mac/WebSubstringUtil.mm
+++ b/Source/WebKit/chromium/src/mac/WebSubstringUtil.mm
@@ -70,12 +70,13 @@ NSAttributedString* WebSubstringUtil::attributedSubstringInRange(WebFrame* webFr
unsigned position = 0;
for (TextIterator it(range.get()); !it.atEnd() && [string length] < length; it.advance()) {
+ HandleScope scope;
unsigned numCharacters = it.length();
if (!numCharacters)
continue;
ExceptionCode exception = 0;
- Node* container = it.range()->startContainer(exception);
+ Handle<Node> container = it.range()->startContainer(exception);
RenderObject* renderer = container->renderer();
ASSERT(renderer);
if (!renderer)
« no previous file with comments | « no previous file | Source/core/accessibility/AccessibilityImageMapLink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698