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

Side by Side Diff: Source/modules/filesystem/DOMFileSystemBase.cpp

Issue 1130793002: Oilpan: switch some leftover raw references over to traced Member<>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 , m_type(type) 67 , m_type(type)
68 , m_filesystemRootURL(rootURL) 68 , m_filesystemRootURL(rootURL)
69 , m_clonable(false) 69 , m_clonable(false)
70 { 70 {
71 } 71 }
72 72
73 DOMFileSystemBase::~DOMFileSystemBase() 73 DOMFileSystemBase::~DOMFileSystemBase()
74 { 74 {
75 } 75 }
76 76
77 DEFINE_TRACE(DOMFileSystemBase)
78 {
79 visitor->trace(m_context);
80 }
81
77 WebFileSystem* DOMFileSystemBase::fileSystem() const 82 WebFileSystem* DOMFileSystemBase::fileSystem() const
78 { 83 {
79 Platform* platform = Platform::current(); 84 Platform* platform = Platform::current();
80 if (!platform) 85 if (!platform)
81 return nullptr; 86 return nullptr;
82 return platform->fileSystem(); 87 return platform->fileSystem();
83 } 88 }
84 89
85 SecurityOrigin* DOMFileSystemBase::securityOrigin() const 90 SecurityOrigin* DOMFileSystemBase::securityOrigin() const
86 { 91 {
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 buffer.Resize(inputLength * 3); 425 buffer.Resize(inputLength * 3);
421 426
422 url::EncodeURIComponent(utf8.data(), inputLength, &buffer); 427 url::EncodeURIComponent(utf8.data(), inputLength, &buffer);
423 String escaped(buffer.data(), buffer.length()); 428 String escaped(buffer.data(), buffer.length());
424 // Unescape '/'; it's safe and much prettier. 429 // Unescape '/'; it's safe and much prettier.
425 escaped.replace("%2F", "/"); 430 escaped.replace("%2F", "/");
426 return escaped; 431 return escaped;
427 } 432 }
428 433
429 } // namespace blink 434 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.h ('k') | Source/modules/mediastream/RTCDataChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698