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

Unified Diff: Source/modules/canvas2d/CanvasRenderingContext2D.h

Issue 1297383003: Keep TextMetrics on the Oilpan heap always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/html/TextMetrics.idl ('k') | Source/modules/canvas2d/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/CanvasRenderingContext2D.h
diff --git a/Source/modules/canvas2d/CanvasRenderingContext2D.h b/Source/modules/canvas2d/CanvasRenderingContext2D.h
index 4333870f7acae1c3f15a14f519e11b511cf4472c..79720023b0df913afd853543a56b272a7738b7a8 100644
--- a/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -197,7 +197,7 @@ public:
void fillText(const String& text, float x, float y, float maxWidth);
void strokeText(const String& text, float x, float y);
void strokeText(const String& text, float x, float y, float maxWidth);
- PassRefPtrWillBeRawPtr<TextMetrics> measureText(const String& text);
+ TextMetrics* measureText(const String& text);
bool imageSmoothingEnabled() const;
void setImageSmoothingEnabled(bool);
« no previous file with comments | « Source/core/html/TextMetrics.idl ('k') | Source/modules/canvas2d/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698