Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(762)

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed)

Created:
7 years, 6 months ago by Ryan Sleevi
Modified:
7 years, 6 months ago
CC:
chromium-reviews, tzik+watch_chromium.org, apatrick_chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, kinuko+watch, cc-bugs_chromium.org, kinuko
Visibility:
Public.

Description

Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" Linux fixes BUG=110610 TBR=darin Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203636

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1157 lines, -970 lines) Patch
M webkit/appcache/appcache.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/appcache/appcache.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/appcache/appcache_disk_cache.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/appcache/appcache_group_unittest.cc View 1 chunk +13 lines, -13 lines 0 comments Download
M webkit/appcache/appcache_host.cc View 8 chunks +12 lines, -11 lines 0 comments Download
M webkit/appcache/appcache_host_unittest.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M webkit/appcache/appcache_request_handler.cc View 14 chunks +18 lines, -19 lines 0 comments Download
M webkit/appcache/appcache_request_handler_unittest.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M webkit/appcache/appcache_response.cc View 7 chunks +13 lines, -10 lines 0 comments Download
M webkit/appcache/appcache_response_unittest.cc View 5 chunks +24 lines, -25 lines 0 comments Download
M webkit/appcache/appcache_service.cc View 4 chunks +8 lines, -5 lines 0 comments Download
M webkit/appcache/appcache_service_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webkit/appcache/appcache_storage.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/appcache/appcache_storage_impl.cc View 11 chunks +23 lines, -20 lines 0 comments Download
M webkit/appcache/appcache_storage_impl_unittest.cc View 15 chunks +36 lines, -19 lines 0 comments Download
M webkit/appcache/appcache_storage_unittest.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M webkit/appcache/appcache_test_helper.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/appcache/appcache_unittest.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M webkit/appcache/appcache_update_job.cc View 27 chunks +40 lines, -33 lines 0 comments Download
M webkit/appcache/appcache_update_job_unittest.cc View 66 chunks +120 lines, -66 lines 0 comments Download
M webkit/appcache/appcache_url_request_job.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/appcache/appcache_url_request_job_unittest.cc View 7 chunks +17 lines, -15 lines 0 comments Download
M webkit/appcache/mock_appcache_storage.cc View 6 chunks +15 lines, -13 lines 0 comments Download
M webkit/appcache/mock_appcache_storage_unittest.cc View 15 chunks +40 lines, -40 lines 0 comments Download
M webkit/appcache/view_appcache_internals_job.cc View 4 chunks +14 lines, -9 lines 0 comments Download
M webkit/browser/blob/blob_storage_context.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webkit/browser/blob/blob_storage_context_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webkit/browser/blob/blob_storage_controller.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M webkit/browser/blob/blob_storage_controller_unittest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M webkit/browser/blob/blob_url_request_job.cc View 5 chunks +10 lines, -11 lines 0 comments Download
M webkit/browser/blob/blob_url_request_job_factory.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M webkit/browser/blob/blob_url_request_job_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/blob/local_file_stream_reader.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/browser/blob/local_file_stream_reader_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/browser/blob/mock_blob_url_request_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/blob/view_blob_internals_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/database/database_quota_client.cc View 3 chunks +6 lines, -9 lines 0 comments Download
M webkit/browser/database/database_tracker.cc View 7 chunks +9 lines, -8 lines 0 comments Download
M webkit/browser/database/database_tracker_unittest.cc View 5 chunks +25 lines, -12 lines 0 comments Download
M webkit/browser/fileapi/copy_or_move_file_validator_unittest.cc View 3 chunks +10 lines, -8 lines 0 comments Download
M webkit/browser/fileapi/file_system_context_unittest.cc View 2 chunks +14 lines, -15 lines 0 comments Download
M webkit/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/file_system_file_stream_reader_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/file_system_quota_client_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/file_system_url_request_job_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/file_system_usage_cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/file_writer_delegate.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/file_writer_delegate_unittest.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M webkit/browser/fileapi/local_file_stream_writer_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/local_file_system_cross_operation_unittest.cc View 3 chunks +16 lines, -17 lines 0 comments Download
M webkit/browser/fileapi/local_file_system_operation.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/local_file_system_operation_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M webkit/browser/fileapi/local_file_system_operation_write_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/local_file_util_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/obfuscated_file_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/obfuscated_file_util_unittest.cc View 2 chunks +11 lines, -9 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_test_helper.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/sandbox_mount_point_provider.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/sandbox_quota_observer.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/syncable/canned_syncable_file_system.cc View 9 chunks +88 lines, -60 lines 0 comments Download
M webkit/browser/fileapi/syncable/local_file_change_tracker_unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/syncable/local_file_sync_context_unittest.cc View 7 chunks +50 lines, -30 lines 0 comments Download
M webkit/browser/fileapi/syncable/syncable_file_operation_runner_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/syncable/syncable_file_system_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/test_mount_point_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/transient_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/upload_file_system_file_element_reader_unittest.cc View 13 chunks +34 lines, -28 lines 0 comments Download
M webkit/browser/quota/mock_quota_manager_unittest.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M webkit/browser/quota/quota_database_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/browser/quota/quota_manager.cc View 7 chunks +27 lines, -30 lines 0 comments Download
M webkit/browser/quota/quota_manager_unittest.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M webkit/browser/quota/quota_task.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/quota/usage_tracker.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/common/blob/scoped_file.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webkit/common/blob/shareable_file_reference_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/common/gpu/test_context_provider_factory.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 5 chunks +12 lines, -14 lines 0 comments Download
M webkit/common/gpu/webgraphicscontext3d_in_process_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/dom_storage/dom_storage_area.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/dom_storage/dom_storage_cached_area.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/dom_storage/dom_storage_cached_area.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/dom_storage/dom_storage_cached_area_unittest.cc View 8 chunks +49 lines, -49 lines 0 comments Download
M webkit/dom_storage/dom_storage_context.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/dom_storage/dom_storage_context.cc View 8 chunks +15 lines, -12 lines 0 comments Download
M webkit/dom_storage/dom_storage_context_unittest.cc View 4 chunks +12 lines, -8 lines 0 comments Download
M webkit/dom_storage/dom_storage_host.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M webkit/dom_storage/dom_storage_namespace.cc View 5 chunks +17 lines, -11 lines 0 comments Download
M webkit/dom_storage/dom_storage_session.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/resource_request_body_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/glue/websocketstreamhandle_impl.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M webkit/glue/weburlloader_impl.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webkit/plugins/npapi/plugin_host.cc View 19 chunks +22 lines, -22 lines 0 comments Download
M webkit/plugins/npapi/plugin_instance.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_instance.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M webkit/plugins/npapi/plugin_lib.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/content_decryptor_delegate.cc View 7 chunks +11 lines, -12 lines 0 comments Download
M webkit/plugins/ppapi/npapi_glue.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/npobject_var.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 7 chunks +9 lines, -9 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/ppb_buffer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_file_ref_impl.cc View 5 chunks +11 lines, -10 lines 0 comments Download
M webkit/plugins/ppapi/ppb_var_deprecated_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/url_request_info_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/renderer/media/buffered_data_source.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/renderer/media/crypto/ppapi_decryptor.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/renderer/media/crypto/proxy_decryptor.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/renderer/media/webaudiosourceprovider_impl_unittest.cc View 5 chunks +16 lines, -16 lines 0 comments Download
M webkit/renderer/media/webmediaplayer_impl.cc View 10 chunks +16 lines, -13 lines 0 comments Download
M webkit/renderer/media/webmediaplayer_ms.cc View 11 chunks +23 lines, -23 lines 0 comments Download
M webkit/renderer/media/webmediaplayer_params.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/test_webkit_platform_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/test_webmessageportchannel.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/simple_dom_storage_system.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M webkit/tools/test_shell/simple_socket_stream_bridge.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/test_shell_request_context.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Ryan Sleevi
TBR
7 years, 6 months ago (2013-06-01 01:52:31 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/16155009/1
7 years, 6 months ago (2013-06-01 01:53:10 UTC) #2
commit-bot: I haz the power
Change committed as 203636
7 years, 6 months ago (2013-06-02 23:47:40 UTC) #3
michaeln
On 2013/06/02 23:47:40, I haz the power (commit-bot) wrote: > Change committed as 203636 Hi ...
7 years, 6 months ago (2013-06-03 22:19:30 UTC) #4
Ryan Sleevi
On 2013/06/03 22:19:30, michaeln wrote: > On 2013/06/02 23:47:40, I haz the power (commit-bot) wrote: ...
7 years, 6 months ago (2013-06-03 22:39:06 UTC) #5
jamesr
On 2013/06/03 22:39:06, Ryan Sleevi wrote: > On 2013/06/03 22:19:30, michaeln wrote: > > On ...
7 years, 6 months ago (2013-06-03 22:40:38 UTC) #6
michaeln
> Go ahead, it's really easy to merge changes like this. We'll be continuing the ...
7 years, 6 months ago (2013-06-03 22:58:18 UTC) #7
Ryan Sleevi
On 2013/06/03 22:58:18, michaeln wrote: > > Go ahead, it's really easy to merge changes ...
7 years, 6 months ago (2013-06-03 23:33:51 UTC) #8
michaeln1
7 years, 6 months ago (2013-06-04 00:11:39 UTC) #9
I expect to land dom_storage moving today, I'm retrying after merging in
your changes.  Kinuko has a patch up for appcache that;s not yet complete
but is close (but she's using git so it may not matter for her).


On Mon, Jun 3, 2013 at 4:33 PM, <rsleevi@chromium.org> wrote:

> On 2013/06/03 22:58:18, michaeln wrote:
>
>> > Go ahead, it's really easy to merge changes like this.  We'll be
>> continuing
>> the
>> > migration for the next few weeks most likely.
>>
>
>  Let me be more constrained in my request, please hold off on
>> search-n-destroy
>> cleanup changes in webkit/appcache and webkit/dom_storage. I'm still
>> using svn
>> and svn does not automerge changes like this to moved/deleted files.
>>
>
> Can you give an ETA on this? I had hoped to complete the refactoring
> within the
> next few days.
>
> Fred Akalin is in the process of a similar change for WeakPtr<>, so I
> expect
> he's going to run into the same concerns you're at here.
>
> I'm certainly not trying to stomp on any toes, but I do want to make sure
> we
> have a clear migration path and aren't leaving things midstream.
> Ultimately,
> this was done with automated tooling, so it's possible to re-do if
> necessary - I
> would just like to finish this sooner than later so that we can actually
> close
> out the pattern in the code and avoid the continual firefighting of new
> usages
> constantly being introduced across the codebase.
>
>
>
>  > Thanks for the heads up. I spoke with Darin beforehand to make sure
>> this was
>> > going to be kosher to TBR. This was also extensively discussed on
>>
> chromium-dev
>
>> > (it just took 6 months from when Will proposed it).
>>
>
>  The changes are fine and good (i definitely prefer the explicit .get).
>>
>
>
>
>
https://chromiumcodereview.**appspot.com/16155009/<https://chromiumcodereview...
>

Powered by Google App Engine
This is Rietveld 408576698