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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 <v8.h>
8 #include <memory>
7 #include "core/loader/resource/ImageResource.h" 9 #include "core/loader/resource/ImageResource.h"
8 #include "core/loader/resource/ImageResourceInfo.h" 10 #include "core/loader/resource/ImageResourceInfo.h"
9 #include "core/loader/resource/ImageResourceObserver.h" 11 #include "core/loader/resource/ImageResourceObserver.h"
10 #include "core/svg/graphics/SVGImage.h" 12 #include "core/svg/graphics/SVGImage.h"
11 #include "platform/Histogram.h" 13 #include "platform/Histogram.h"
12 #include "platform/RuntimeEnabledFeatures.h" 14 #include "platform/RuntimeEnabledFeatures.h"
13 #include "platform/SharedBuffer.h" 15 #include "platform/SharedBuffer.h"
14 #include "platform/geometry/IntSize.h" 16 #include "platform/geometry/IntSize.h"
15 #include "platform/graphics/BitmapImage.h" 17 #include "platform/graphics/BitmapImage.h"
16 #include "platform/graphics/PlaceholderImage.h" 18 #include "platform/graphics/PlaceholderImage.h"
17 #include "platform/instrumentation/tracing/TraceEvent.h" 19 #include "platform/instrumentation/tracing/TraceEvent.h"
18 #include "wtf/StdLibExtras.h" 20 #include "wtf/StdLibExtras.h"
19 #include "wtf/Vector.h" 21 #include "wtf/Vector.h"
20 #include <memory>
21 #include <v8.h>
22 22
23 namespace blink { 23 namespace blink {
24 namespace { 24 namespace {
25 class NullImageResourceInfo final 25 class NullImageResourceInfo final
26 : public GarbageCollectedFinalized<NullImageResourceInfo>, 26 : public GarbageCollectedFinalized<NullImageResourceInfo>,
27 public ImageResourceInfo { 27 public ImageResourceInfo {
28 USING_GARBAGE_COLLECTED_MIXIN(NullImageResourceInfo); 28 USING_GARBAGE_COLLECTED_MIXIN(NullImageResourceInfo);
29 29
30 public: 30 public:
31 NullImageResourceInfo() {} 31 NullImageResourceInfo() {}
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 505
506 const ResourceResponse& ImageResourceContent::response() const { 506 const ResourceResponse& ImageResourceContent::response() const {
507 return m_info->response(); 507 return m_info->response();
508 } 508 }
509 509
510 const ResourceError& ImageResourceContent::resourceError() const { 510 const ResourceError& ImageResourceContent::resourceError() const {
511 return m_info->resourceError(); 511 return m_info->resourceError();
512 } 512 }
513 513
514 } // namespace blink 514 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698