DescriptionReplace RefPtrs with raw pointers (imageFromNode in Editor.cpp)
imageFromNode in Editor.cpp now returns a RefPtr to an Image, but this
function creates a return value from ImageResource::getImage(), which
returns a raw pointer to ImageResource::m_image. To reduce unnecessary
refs of that field, this CL replaces (Pass)RefPtrs with raw pointers.
The goal is to change ImageResource::m_image to be a unique_ptr, and
this CL is one of all steps.
BUG=n/a
TEST=webkit_unit_tests --gtest_filter=CanvasRenderingContext2DTest.*
CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel
Patch Set 1 : impl #
Total comments: 5
Patch Set 2 : (rebase) #
Depends on Patchset: Messages
Total messages: 19 (8 generated)
|