Changeset 92183 in webkit
- Timestamp:
- Aug 2, 2011 6:39:26 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r92171 r92183 1 2011-08-02 Amruth Raj <amruthraj@motorola.com> 2 3 Custom cursors cause the WebProcess to crash 4 https://bugs.webkit.org/show_bug.cgi?id=64802 5 6 Reviewed by Martin Robinson. 7 8 * WebCore.exp.in: 9 1 10 2011-08-02 Pavel Feldman <pfeldman@google.com> 2 11 -
trunk/Source/WebCore/WebCore.exp.in
r92143 r92183 749 749 __ZN7WebCore5Frame9scalePageEfRKNS_8IntPointE 750 750 __ZN7WebCore5FrameD1Ev 751 __ZN7WebCore5Image9nullImageEv 751 752 __ZN7WebCore5Image12supportsTypeERKN3WTF6StringE 752 753 __ZN7WebCore5Image20loadPlatformResourceEPKc -
trunk/Source/WebKit2/ChangeLog
r92143 r92183 1 2011-08-02 Amruth Raj <amruthraj@motorola.com> 2 3 Custom cursors cause the WebProcess to crash 4 https://bugs.webkit.org/show_bug.cgi?id=64802 5 6 Reviewed by Martin Robinson. 7 8 * Shared/WebCoreArgumentCoders.cpp: 9 (CoreIPC::::encode): In case of a NULL cursor image, encode a bool indicating that. 10 (CoreIPC::::decode): Decode the image only if required. 11 1 12 2011-08-01 Scott Graham <scottmg@chromium.org> 2 13 -
trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp
r92113 r92183 322 322 return; 323 323 324 if (cursor.image()->isNull()) { 325 encoder->encodeBool(false); // There is no valid image being encoded. 326 return; 327 } 328 329 encoder->encodeBool(true); 324 330 encodeImage(encoder, cursor.image()); 325 331 encoder->encode(cursor.hotSpot()); … … 342 348 343 349 cursor = cursorReference; 350 return true; 351 } 352 353 bool isValidImagePresent; 354 if (!decoder->decode(isValidImagePresent)) 355 return false; 356 357 if (!isValidImagePresent) { 358 cursor = Cursor(Image::nullImage(), IntPoint()); 344 359 return true; 345 360 }
Note: See TracChangeset
for help on using the changeset viewer.