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

Side by Side Diff: third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp

Issue 2815053002: Rewrite references to "wtf/" to "platform/wtf/" in core/loader. (Closed)
Patch Set: Created 3 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "core/loader/resource/ImageResourceContent.h" 5 #include "core/loader/resource/ImageResourceContent.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "core/loader/resource/ImageResource.h" 9 #include "core/loader/resource/ImageResource.h"
10 #include "core/loader/resource/ImageResourceInfo.h" 10 #include "core/loader/resource/ImageResourceInfo.h"
11 #include "core/loader/resource/ImageResourceObserver.h" 11 #include "core/loader/resource/ImageResourceObserver.h"
12 #include "core/svg/graphics/SVGImage.h" 12 #include "core/svg/graphics/SVGImage.h"
13 #include "platform/Histogram.h" 13 #include "platform/Histogram.h"
14 #include "platform/RuntimeEnabledFeatures.h" 14 #include "platform/RuntimeEnabledFeatures.h"
15 #include "platform/SharedBuffer.h" 15 #include "platform/SharedBuffer.h"
16 #include "platform/geometry/IntSize.h" 16 #include "platform/geometry/IntSize.h"
17 #include "platform/graphics/BitmapImage.h" 17 #include "platform/graphics/BitmapImage.h"
18 #include "platform/graphics/PlaceholderImage.h" 18 #include "platform/graphics/PlaceholderImage.h"
19 #include "platform/instrumentation/tracing/TraceEvent.h" 19 #include "platform/instrumentation/tracing/TraceEvent.h"
20 #include "platform/wtf/StdLibExtras.h"
21 #include "platform/wtf/Vector.h"
20 #include "v8/include/v8.h" 22 #include "v8/include/v8.h"
21 #include "wtf/StdLibExtras.h"
22 #include "wtf/Vector.h"
23 23
24 namespace blink { 24 namespace blink {
25 namespace { 25 namespace {
26 class NullImageResourceInfo final 26 class NullImageResourceInfo final
27 : public GarbageCollectedFinalized<NullImageResourceInfo>, 27 : public GarbageCollectedFinalized<NullImageResourceInfo>,
28 public ImageResourceInfo { 28 public ImageResourceInfo {
29 USING_GARBAGE_COLLECTED_MIXIN(NullImageResourceInfo); 29 USING_GARBAGE_COLLECTED_MIXIN(NullImageResourceInfo);
30 30
31 public: 31 public:
32 NullImageResourceInfo() {} 32 NullImageResourceInfo() {}
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 511
512 const ResourceResponse& ImageResourceContent::GetResponse() const { 512 const ResourceResponse& ImageResourceContent::GetResponse() const {
513 return info_->GetResponse(); 513 return info_->GetResponse();
514 } 514 }
515 515
516 const ResourceError& ImageResourceContent::GetResourceError() const { 516 const ResourceError& ImageResourceContent::GetResourceError() const {
517 return info_->GetResourceError(); 517 return info_->GetResourceError();
518 } 518 }
519 519
520 } // namespace blink 520 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698