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

Unified Diff: Source/core/dom/Document.h

Issue 27544002: Have Document::fonts() return a raw pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 54666feeba0bba260b46180fd8ec55a9ca150670..92f9db5df2a8204de99986af16892c8dc8c678e7 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1059,7 +1059,8 @@ public:
virtual DOMWindow* executingWindow() OVERRIDE { return domWindow(); }
virtual void userEventWasHandled() OVERRIDE { resetLastHandledUserGestureTimestamp(); }
- PassRefPtr<FontFaceSet> fonts();
+ // Can never return null.
+ FontFaceSet* fonts();
DocumentLifecycleNotifier* lifecycleNotifier();
bool isActive() const { return m_lifecyle.state() == DocumentLifecycle::Active; }
bool isStopping() const { return m_lifecyle.state() == DocumentLifecycle::Stopping; }
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698