Changeset 230747 in webkit
- Timestamp:
- Apr 17, 2018, 8:07:10 PM (8 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/mac/DisplayLink.cpp (modified) (1 diff)
-
UIProcess/mac/DisplayLink.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r230746 r230747 1 2018-04-17 Conrad Shultz <conrad_shultz@apple.com> 2 3 WebKit::DisplayLink maintains a strong reference to WebPageProxy, creating a reference cycle 4 https://bugs.webkit.org/show_bug.cgi?id=184718 5 6 Reviewed by Tim Horton. 7 8 It turns out that the m_webPageProxy back-reference in DisplayLink, which was creating a 9 reference cycle, wasn't ever read, so we can just remove it. 10 11 * UIProcess/mac/DisplayLink.cpp: 12 (WebKit::DisplayLink::DisplayLink): 13 * UIProcess/mac/DisplayLink.h: 14 1 15 2018-04-17 Wenson Hsieh <wenson_hsieh@apple.com> 2 16 -
trunk/Source/WebKit/UIProcess/mac/DisplayLink.cpp
r230468 r230747 37 37 38 38 DisplayLink::DisplayLink(WebCore::PlatformDisplayID displayID, WebPageProxy& webPageProxy) 39 : m_webPageProxy(webPageProxy)40 39 { 41 40 RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); -
trunk/Source/WebKit/UIProcess/mac/DisplayLink.h
r229707 r230747 50 50 51 51 CVDisplayLinkRef m_displayLink { nullptr }; 52 Ref<WebPageProxy> m_webPageProxy;53 52 HashSet<unsigned> m_observers; 54 53 };
Note:
See TracChangeset
for help on using the changeset viewer.