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

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

Issue 23861003: Enable srcset support in HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix issues raised in review Created 7 years, 3 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
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 5b5af6f77ddcfe95627bca412c554ccde6ab0ca9..6d03946ed91db5eef4fc3aec0414c632f32fbfff 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -463,10 +463,12 @@ public:
Vector<String> formElementsState() const;
void setStateForNewFormElements(const Vector<String>&);
- FrameView* view() const; // can be NULL
- Frame* frame() const { return m_frame; } // can be NULL
- Page* page() const; // can be NULL
- Settings* settings() const; // can be NULL
+ FrameView* view() const; // can be null
+ Frame* frame() const { return m_frame; } // can be null
+ Page* page() const; // can be null
+ Settings* settings() const; // can be null
+
+ float devicePixelRatio() const;
PassRefPtr<Range> createRange();

Powered by Google App Engine
This is Rietveld 408576698