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

Unified Diff: Source/core/rendering/FastTextAutosizer.h

Issue 418253003: Don't dereference null pointer in FastTextAutosizer::getTentativeClusterRoots() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/rendering/FastTextAutosizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/FastTextAutosizer.h
diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h
index bc6e991641c1b5e0863b3c815f86c5e45d213deb..3d4f470363b88c01aa6736f19133fc94f56aa4ef 100644
--- a/Source/core/rendering/FastTextAutosizer.h
+++ b/Source/core/rendering/FastTextAutosizer.h
@@ -213,7 +213,7 @@ private:
// Returns true if any BlockSet was modified or freed by the removal.
bool remove(const RenderObject*);
Fingerprint get(const RenderObject*);
- BlockSet& getTentativeClusterRoots(Fingerprint);
+ BlockSet* getTentativeClusterRoots(Fingerprint);
private:
typedef HashMap<const RenderObject*, Fingerprint> FingerprintMap;
typedef HashMap<Fingerprint, OwnPtr<BlockSet> > ReverseFingerprintMap;
« no previous file with comments | « no previous file | Source/core/rendering/FastTextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698