Summary: | REGRESSION(r201405): Fullscreen video no longer enters low-power mode | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||
Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, simon.fraser, thorton, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Jer Noble
2016-06-28 13:13:44 PDT
Created attachment 282274 [details]
Patch
Comment on attachment 282274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282274&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:1320 > + #if PLATFORM(COCOA) > Source/WebKit2/UIProcess/WebPageProxy.cpp:1324 > + m_process->send(Messages::WebPage::SetTopContentInsetFenced(contentInset, fenceAttachment), m_pageID); #else m_process->send(Messages::WebPage::SetTopContentInset(contentInset); #endif > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2459 > This new message handler probably needs to be #if PLATFORM(COCOA) > Source/WebKit2/WebProcess/WebPage/WebPage.h:1055 > #if PLATFORM(COCOA) > Source/WebKit2/WebProcess/WebPage/WebPage.h:1056 > + void setTopContentInsetFenced(float, IPC::Attachment); #endif > Source/WebKit2/WebProcess/WebPage/WebPage.messages.in:32 > + SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort) Maybe you need to keep both messages, the original for #if !PLATFORM(COCOA). (In reply to comment #3) > Comment on attachment 282274 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=282274&action=review > > > Source/WebKit2/UIProcess/WebPageProxy.cpp:1320 > > + > > #if PLATFORM(COCOA) > > > Source/WebKit2/UIProcess/WebPageProxy.cpp:1324 > > + m_process->send(Messages::WebPage::SetTopContentInsetFenced(contentInset, fenceAttachment), m_pageID); > > #else > m_process->send(Messages::WebPage::SetTopContentInset(contentInset); > #endif > > > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2459 > > > > This new message handler probably needs to be #if PLATFORM(COCOA) > > > Source/WebKit2/WebProcess/WebPage/WebPage.h:1055 > > > > #if PLATFORM(COCOA) > > > Source/WebKit2/WebProcess/WebPage/WebPage.h:1056 > > + void setTopContentInsetFenced(float, IPC::Attachment); > > #endif > > > Source/WebKit2/WebProcess/WebPage/WebPage.messages.in:32 > > + SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort) > > Maybe you need to keep both messages, the original for #if !PLATFORM(COCOA). Sure thing. Created attachment 282494 [details]
Patch for landing
Comment on attachment 282494 [details] Patch for landing Clearing flags on attachment: 282494 Committed r202763: <http://trac.webkit.org/changeset/202763> |