Changeset 176269 in webkit
- Timestamp:
- Nov 18, 2014 11:10:21 AM (9 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r176217 r176269 1 2014-11-18 peavo@outlook.com <peavo@outlook.com> 2 3 [WinCairo] Compile errors when GStreamer is enabled. 4 https://bugs.webkit.org/show_bug.cgi?id=137000 5 6 Reviewed by Philippe Normand. 7 8 MSVC does not allow the keyword default on move constructors and move assignment operators. 9 10 * wtf/gobject/GMainLoopSource.cpp: 11 (WTF::GMainLoopSource::cancel): 12 (WTF::GMainLoopSource::socketCallback): 13 * wtf/gobject/GMainLoopSource.h: 14 (WTF::GMainLoopSource::Context::operator=): 15 1 16 2014-11-17 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WTF/wtf/gobject/GMainLoopSource.cpp
r174818 r176269 81 81 return; 82 82 83 Context context = WTF::move(m_context); 83 Context context; 84 context = WTF::move(m_context); 84 85 context.destroySource(); 85 86 } … … 422 423 return Stop; 423 424 424 Context context = WTF::move(m_context); 425 Context context; 426 context = WTF::move(m_context); 425 427 426 428 ASSERT(context.socketCallback); -
trunk/Source/WTF/wtf/gobject/GMainLoopSource.h
r174818 r176269 77 77 struct Context { 78 78 Context() = default; 79 Context(Context&&) = default; 80 Context& operator=(Context&&) = default; 79 Context& operator=(Context&& c) 80 { 81 source = WTF::move(c.source); 82 cancellable = WTF::move(c.cancellable); 83 socketCancellable = WTF::move(c.socketCancellable); 84 voidCallback = WTF::move(c.voidCallback); 85 boolCallback = WTF::move(c.boolCallback); 86 socketCallback = WTF::move(c.socketCallback); 87 destroyCallback = WTF::move(c.destroyCallback); 88 return *this; 89 } 81 90 82 91 void destroySource();
Note: See TracChangeset
for help on using the changeset viewer.