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

Side by Side Diff: third_party/WebKit/Source/web/AssociatedURLLoader.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2010, 2011, 2012 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 312 }
313 313
314 DEFINE_INLINE_VIRTUAL_TRACE() 314 DEFINE_INLINE_VIRTUAL_TRACE()
315 { 315 {
316 ContextLifecycleObserver::trace(visitor); 316 ContextLifecycleObserver::trace(visitor);
317 } 317 }
318 318
319 AssociatedURLLoader* m_parent; 319 AssociatedURLLoader* m_parent;
320 }; 320 };
321 321
322 AssociatedURLLoader::AssociatedURLLoader(RawPtr<WebLocalFrameImpl> frameImpl, co nst WebURLLoaderOptions& options) 322 AssociatedURLLoader::AssociatedURLLoader(WebLocalFrameImpl* frameImpl, const Web URLLoaderOptions& options)
323 : m_options(options) 323 : m_options(options)
324 , m_observer(new Observer(this, frameImpl->frame()->document())) 324 , m_observer(new Observer(this, frameImpl->frame()->document()))
325 { 325 {
326 } 326 }
327 327
328 AssociatedURLLoader::~AssociatedURLLoader() 328 AssociatedURLLoader::~AssociatedURLLoader()
329 { 329 {
330 cancel(); 330 cancel();
331 } 331 }
332 332
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // there could be a WebURLLoader instance behind the 455 // there could be a WebURLLoader instance behind the
456 // DocumentThreadableLoader instance. So, for safety, we chose to just 456 // DocumentThreadableLoader instance. So, for safety, we chose to just
457 // crash here. 457 // crash here.
458 RELEASE_ASSERT(ThreadState::current()); 458 RELEASE_ASSERT(ThreadState::current());
459 459
460 m_observer->dispose(); 460 m_observer->dispose();
461 m_observer = nullptr; 461 m_observer = nullptr;
462 } 462 }
463 463
464 } // namespace blink 464 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/AssociatedURLLoader.h ('k') | third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698