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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)

Created:
4 years, 1 month ago by hiroshige
Modified:
4 years ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-html_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, caseq+blink_chromium.org, chromium-reviews, dcheng, devtools-reviews_chromium.org, dglazkov+blink, dshwang, krit, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, f(malita), fs, gavinp+loader_chromium.org, gyuyoung2, haraken, Nate Chapin, jchaffraix+rendering, kinuko, kouhei+svg_chromium.org, kozyatinskiy+blink_chromium.org, leviw+renderwatch, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, lushnikov+blink_chromium.org, Navid Zolghadr, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, pfeldman+blink_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split ImageResource into Resource and Image parts Currently, ImageResource is - A part of Image, as a kind of a wrapper of blink::Image and the entry point of ImageResourceObserver, and - A part of Resource, because it is a subclass of Resource and highly involved into internals of Resource such as state control of Resource. This complicates the ImageResource, causes dependencies and layering violation between loading- and image-related things, and complicates reloading logic. This CL splits ImageResource into two parts: ImageResource, the Resource-part: - A subclass of Resource. ImageResourceContent, the Image-part: - Manages blink::Image and ImageResourceObserver, and inherits ImageObserver. - Has limited access to Resource-part (if any) via ImageResourceInfo. Most of current users of ImageResource, especially those in core/style, are migrated to use ImageResourceContent and/or to inherit ImageResourceObserver instead of ResourceClient, as they want to access Image, not necessarily resource loading. Design doc: https://docs.google.com/document/d/1O-fB83mrE0B_V8gzXNqHgmRLCvstTB4MMi3RnVLr8bE/edit?usp=sharing In this CL, the Resource-part and the Image-part has 1:1 correspondence that doesn't change during their lifetime and therefore ImageResource::m_content is always non-null. Subsequent CLs will make them detachable. Changes in most of the files are replacing ImageResource with ImageResourceContent. Notable changes are: Main part of CL: split ImageResource into two parts: - core/fetch/ImageResource.h - core/fetch/ImageResource.cpp - core/fetch/ImageResourceContent.h - core/fetch/ImageResourceContent.cpp emulateLoadStartedForInspector() hack is now called via ImageResourceContent: - core/css/CSSImageValue.cpp ImageLoader is mostly migrated to ImageResourceContent, except for imageResourceForImageDocument() that returns ImageResource only for ImageDocument. - core/html/HTMLImageElement.h - core/html/ImageDocument.cpp - core/loader/ImageLoader.h - core/loader/ImageLoader.cpp A reference to Resource from FrameSerializer is replaced with |mimeType| String and |hasCacheControlNoStoreHeader| boolean in order to migrate to ImageResourceContent. - web/WebFrameSerializer.cpp - core/frame/FrameSerializer.h - core/frame/FrameSerializer.cpp BUG=667641 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/7b80eac87bd4a9f5d0fad898dd73e239ee36fbb3 Cr-Commit-Position: refs/heads/master@{#437867}

Patch Set 1 #

Patch Set 2 : first build OK #

Patch Set 3 : rename #

Patch Set 4 : style #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Fix FrameSerializer #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Patch Set 11 : Rebase #

Patch Set 12 : fix #

Patch Set 13 : More refactor #

Patch Set 14 : Rebase #

Patch Set 15 : Rebase #

Patch Set 16 : Rebase #

Patch Set 17 : refine #

Patch Set 18 : Refine #

Patch Set 19 : Remove ImageResource from StyleImage #

Patch Set 20 : refine #

Patch Set 21 : Split interfaces. #

Patch Set 22 : fix #

Patch Set 23 : Rebase #

Patch Set 24 : comments #

Total comments: 4

Patch Set 25 : Rebase. #

Total comments: 4

Patch Set 26 : Merge ImageResourceContentInterface back to ImageResourceContent #

Patch Set 27 : fix #

Total comments: 53

Patch Set 28 : Rebase #

Patch Set 29 : Update comments #

Patch Set 30 : Do not cause DecodeError in error() #

Patch Set 31 : Reflect comments #

Patch Set 32 : Rebase #

Total comments: 9

Patch Set 33 : reflect comments #

Patch Set 34 : Rebase #

Total comments: 6

Patch Set 35 : Rebase / Revert getImage() back to ImageResourceContent::m_image #

Patch Set 36 : style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+901 lines, -1375 lines) Patch
M third_party/WebKit/Source/core/clipboard/DataTransfer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/clipboard/DataTransfer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSCrossfadeValue.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSCursorImageValue.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSImageSetValue.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSImageValue.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 5 chunks +34 lines, -98 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 15 chunks +155 lines, -365 lines 0 comments Download
A + third_party/WebKit/Source/core/fetch/ImageResourceContent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +80 lines, -157 lines 0 comments Download
A + third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 19 chunks +179 lines, -422 lines 0 comments Download
A third_party/WebKit/Source/core/fetch/ImageResourceInfo.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +71 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResourceObserver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 33 chunks +132 lines, -132 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MockResourceClients.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 21 22 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MockResourceClients.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameSerializer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 4 chunks +12 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameSerializer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 6 chunks +20 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 10 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageLoader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLObjectElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +25 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/ImageInputType.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutImage.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutImageResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutImageResource.cpp View 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListMarker.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableRow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/shapes/Shape.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp View 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/ImageLoader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ImageLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 10 chunks +15 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/CSSStyleSheetResourceTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/DragController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGImagePainter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ShapeValue.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImageSet.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleImage.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGFEImageElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGImageElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGImageLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameSerializer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 130 (107 generated)
hiroshige
PTAL. Suggestion for better class names are welcome. https://codereview.chromium.org/2469873002/diff/460001/third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp File third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp (right): https://codereview.chromium.org/2469873002/diff/460001/third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp#newcode155 third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp:155: m_image->destroyDecodedData(); ...
4 years ago (2016-11-30 06:46:25 UTC) #60
kinuko
A few random drive-by comments (not meant to be useful review comments). Fwiw I like ...
4 years ago (2016-12-01 16:40:56 UTC) #65
hiroshige
https://codereview.chromium.org/2469873002/diff/480001/third_party/WebKit/Source/core/fetch/ImageResource.h File third_party/WebKit/Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/2469873002/diff/480001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode68 third_party/WebKit/Source/core/fetch/ImageResource.h:68: ImageResourceContent* getRealContent() const; On 2016/12/01 16:40:55, kinuko wrote: > ...
4 years ago (2016-12-02 08:51:18 UTC) #66
hiroshige
On 2016/12/02 08:51:18, hiroshige wrote: > https://codereview.chromium.org/2469873002/diff/480001/third_party/WebKit/Source/core/fetch/ImageResource.h > File third_party/WebKit/Source/core/fetch/ImageResource.h (right): > > https://codereview.chromium.org/2469873002/diff/480001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode68 > ...
4 years ago (2016-12-05 06:29:56 UTC) #67
kouhei (in TOK)
https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/fetch/ImageResource.h File third_party/WebKit/Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode39 third_party/WebKit/Source/core/fetch/ImageResource.h:39: // ImageResource is the resource-related part of image loading. ...
4 years ago (2016-12-05 07:13:06 UTC) #70
yhirano
https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/css/CSSImageValue.cpp File third_party/WebKit/Source/core/css/CSSImageValue.cpp (right): https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/css/CSSImageValue.cpp#newcode99 third_party/WebKit/Source/core/css/CSSImageValue.cpp:99: if (ImageResourceContent* cachedResource = m_cachedImage->cachedImage()) cachedResourceContent? I'm not sure ...
4 years ago (2016-12-05 09:02:04 UTC) #73
hiroshige
https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/fetch/ImageResource.h File third_party/WebKit/Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode39 third_party/WebKit/Source/core/fetch/ImageResource.h:39: // ImageResource is the resource-related part of image loading. ...
4 years ago (2016-12-05 09:11:19 UTC) #74
kouhei (in TOK)
https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/css/CSSImageValue.cpp File third_party/WebKit/Source/core/css/CSSImageValue.cpp (right): https://codereview.chromium.org/2469873002/diff/520001/third_party/WebKit/Source/core/css/CSSImageValue.cpp#newcode99 third_party/WebKit/Source/core/css/CSSImageValue.cpp:99: if (ImageResourceContent* cachedResource = m_cachedImage->cachedImage()) On 2016/12/05 09:02:03, yhirano ...
4 years ago (2016-12-05 09:22:05 UTC) #75
kouhei (in TOK)
OWNER lgtm from myside % yhirano comments
4 years ago (2016-12-05 11:32:55 UTC) #78
hiroshige
Reflected comments. Also, PatchSet 30 fixes a bug: Before PatchSet 30, ImageResource::error() clears ImageResourceContent's image ...
4 years ago (2016-12-06 09:32:51 UTC) #87
Nate Chapin
I only looked at the fetch/ changes, but I'm liking this. Definitely still some untangling ...
4 years ago (2016-12-07 20:27:28 UTC) #94
yhirano
lgtm https://codereview.chromium.org/2469873002/diff/620001/third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp File third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp (right): https://codereview.chromium.org/2469873002/diff/620001/third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp#newcode266 third_party/WebKit/Source/core/fetch/ImageResourceContent.cpp:266: inline PassRefPtr<Image> ImageResourceContent::createImage() { Is this inline needed? ...
4 years ago (2016-12-08 04:17:58 UTC) #95
kinuko
rs-ish lgtm % nits https://codereview.chromium.org/2469873002/diff/660001/third_party/WebKit/Source/core/fetch/ImageResource.h File third_party/WebKit/Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/2469873002/diff/660001/third_party/WebKit/Source/core/fetch/ImageResource.h#newcode69 third_party/WebKit/Source/core/fetch/ImageResource.h:69: ImageResourceContent* getContent() const; nit: avoid ...
4 years ago (2016-12-09 10:42:24 UTC) #101
hiroshige
Addressed comments from yhirano@ and japhet@. https://codereview.chromium.org/2469873002/diff/620001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/2469873002/diff/620001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode287 third_party/WebKit/Source/core/fetch/ImageResource.cpp:287: if (!getContent()->isSizeAvailable() || ...
4 years ago (2016-12-09 22:50:39 UTC) #102
hiroshige
https://codereview.chromium.org/2469873002/diff/620001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/2469873002/diff/620001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode287 third_party/WebKit/Source/core/fetch/ImageResource.cpp:287: if (!getContent()->isSizeAvailable() || On 2016/12/09 22:50:39, hiroshige wrote: > ...
4 years ago (2016-12-11 19:17:02 UTC) #107
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2469873002/740001
4 years ago (2016-12-12 09:27:52 UTC) #116
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/323576)
4 years ago (2016-12-12 09:35:48 UTC) #118
hiroshige
+mkwst@, could you take a look at, especially as a modules/ OWNER?
4 years ago (2016-12-12 09:44:29 UTC) #120
Mike West
modules LGTM. I only skimmed the rest; it looks pretty reasonable. If the bots are ...
4 years ago (2016-12-12 13:57:26 UTC) #121
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2469873002/740001
4 years ago (2016-12-12 14:19:52 UTC) #123
commit-bot: I haz the power
Committed patchset #36 (id:740001)
4 years ago (2016-12-12 14:26:32 UTC) #126
commit-bot: I haz the power
Patchset 36 (id:??) landed as https://crrev.com/7b80eac87bd4a9f5d0fad898dd73e239ee36fbb3 Cr-Commit-Position: refs/heads/master@{#437867}
4 years ago (2016-12-12 15:12:09 UTC) #128
hiroshige
4 years ago (2016-12-12 16:24:25 UTC) #130
Message was sent while issue was closed.
On 2016/12/12 15:12:09, commit-bot: I haz the power wrote:
> Patchset 36 (id:??) landed as
> https://crrev.com/7b80eac87bd4a9f5d0fad898dd73e239ee36fbb3
> Cr-Commit-Position: refs/heads/master@{#437867}

Oh, the CL title was not included in the CL description

Powered by Google App Engine
This is Rietveld 408576698