Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
| index 8fd0d07d8f9921178bd3ce5930ba2d1339a58142..29a922cb6f41af1b018d6d5d399f38a049c9e7c6 100644 |
| --- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
| @@ -395,6 +395,11 @@ void WebPagePopupImpl::initializeLayerTreeView() { |
| } |
| } |
| +void WebPagePopupImpl::setSuppressFrameRequestsWorkaroundFor704763Only( |
| + bool suppressFrameRequests) { |
|
esprehn
2017/04/04 06:13:55
I think you need to null check the page just like
alancutter (OOO until 2018)
2017/04/04 09:54:31
Ty, done.
|
| + m_page->animator().setSuppressFrameRequestsWorkaroundFor704763Only( |
| + suppressFrameRequests); |
| +} |
| void WebPagePopupImpl::beginFrame(double lastFrameTimeMonotonic) { |
| if (!m_page) |
| return; |