| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 593cc81c1c869731e256b5bd179d822203fa584f..a587e793b1245e6c5cabf595726ecb6442911ac9 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5432,6 +5432,11 @@ void Document::didAssociateFormControlsTimerFired(Timer<Document>* timer)
|
| m_associatedFormControls.clear();
|
| }
|
|
|
| +float Document::devicePixelRatio() const
|
| +{
|
| + return m_frame ? m_frame->devicePixelRatio() : 1.0;
|
| +}
|
| +
|
| PassOwnPtr<LifecycleNotifier> Document::createLifecycleNotifier()
|
| {
|
| return DocumentLifecycleNotifier::create(this);
|
|
|