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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 WebStorageNamespace* 379 WebStorageNamespace*
380 RendererWebKitPlatformSupportImpl::createLocalStorageNamespace() { 380 RendererWebKitPlatformSupportImpl::createLocalStorageNamespace() {
381 return new WebStorageNamespaceImpl(); 381 return new WebStorageNamespaceImpl();
382 } 382 }
383 383
384 384
385 //------------------------------------------------------------------------------ 385 //------------------------------------------------------------------------------
386 386
387 WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() { 387 WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() {
388 if (!web_idb_factory_) 388 if (!web_idb_factory_)
389 web_idb_factory_.reset(new RendererWebIDBFactoryImpl(thread_safe_sender_)); 389 web_idb_factory_.reset(
390 new RendererWebIDBFactoryImpl(thread_safe_sender_.get()));
390 return web_idb_factory_.get(); 391 return web_idb_factory_.get();
391 } 392 }
392 393
393 //------------------------------------------------------------------------------ 394 //------------------------------------------------------------------------------
394 395
395 WebFileSystem* RendererWebKitPlatformSupportImpl::fileSystem() { 396 WebFileSystem* RendererWebKitPlatformSupportImpl::fileSystem() {
396 if (!web_file_system_) 397 if (!web_file_system_)
397 web_file_system_.reset(new WebFileSystemImpl()); 398 web_file_system_.reset(new WebFileSystemImpl());
398 return web_file_system_.get(); 399 return web_file_system_.get();
399 } 400 }
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 1050
1050 //------------------------------------------------------------------------------ 1051 //------------------------------------------------------------------------------
1051 1052
1052 WebKit::WebString RendererWebKitPlatformSupportImpl::convertIDNToUnicode( 1053 WebKit::WebString RendererWebKitPlatformSupportImpl::convertIDNToUnicode(
1053 const WebKit::WebString& host, 1054 const WebKit::WebString& host,
1054 const WebKit::WebString& languages) { 1055 const WebKit::WebString& languages) {
1055 return net::IDNToUnicode(host.utf8(), languages.utf8()); 1056 return net::IDNToUnicode(host.utf8(), languages.utf8());
1056 } 1057 }
1057 1058
1058 } // namespace content 1059 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/proxy_webidbfactory_impl.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698