Changeset 70557 in webkit
- Timestamp:
- Oct 26, 2010 12:47:41 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70555 r70557 1 2010-10-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Fix an assert with QtPixmapInstance creation. 6 https://bugs.webkit.org/show_bug.cgi?id=48323 7 8 This places the newly refcounted QtPixmapInstance in a RefPtr 9 to prevent an assert on the first ref() call. 10 11 * bridge/qt/qt_pixmapruntime.cpp: 12 (JSC::Bindings::QtPixmapInstance::createPixmapRuntimeObject): 13 1 14 2010-10-26 Kenichi Ishibashi <bashi@google.com> 2 15 -
trunk/WebCore/bridge/qt/qt_pixmapruntime.cpp
r70503 r70557 356 356 { 357 357 JSLock lock(SilenceAssertionsOnly); 358 QtPixmapInstance* instance = new QtPixmapInstance(root, data);358 RefPtr<QtPixmapInstance> instance = adoptRef(new QtPixmapInstance(root, data)); 359 359 return instance->createRuntimeObject(exec); 360 360 }
Note: See TracChangeset
for help on using the changeset viewer.