Changeset 150629 in webkit
- Timestamp:
- May 23, 2013 11:26:26 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r150588 r150629 5025 5025 m_activationState = activationState; 5026 5026 5027 #if USE(ACCELERATED_COMPOSITING) 5028 if (activationState == ActivationActive) 5029 resumeRootLayerCommit(); 5030 else 5031 suspendRootLayerCommit(); 5032 #endif 5033 5027 5034 #if ENABLE(PAGE_VISIBILITY_API) 5028 5035 setPageVisibilityState(); … … 5674 5681 m_suspendRootLayerCommit = false; 5675 5682 m_needsCommit = true; 5683 // PR 330917, explicitly start root layer commit timer, so that there's a commit 5684 // even if BackingStore got disabled/removed. 5685 scheduleRootLayerCommit(); 5676 5686 } 5677 5687 -
trunk/Source/WebKit/blackberry/ChangeLog
r150628 r150629 1 2013-05-23 Xiaobo Wang <xiaobwang@blackberry.com> 2 3 [BlackBerry] Need to suspend/resume RootLayerCommit when the application becomes inactive/active 4 https://bugs.webkit.org/show_bug.cgi?id=115245 5 6 Reviewed by Rob Buis. 7 8 PR 330917. 9 Internally reviewed by Arvid Nilsson. 10 11 1. Suspend/resumeRootLayerCommit when notified app activation state 12 change. 13 2. Schedule root layer commit in resumeRootLayerCommit() to explicitly 14 start root layer commit timer, so that there's a commit even if 15 BackingStore got disabled/removed. 16 17 * Api/WebPage.cpp: 18 (BlackBerry::WebKit::WebPagePrivate::notifyAppActivationStateChange): 19 (BlackBerry::WebKit::WebPagePrivate::resumeRootLayerCommit): 20 1 21 2013-05-23 Andy Chen <andchen@blackberry.com> 2 22
Note: See TracChangeset
for help on using the changeset viewer.