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

Issue 556463002: Revert of tryAllocPixels returns bool, allocPixels requires success (Closed)

Created:
6 years, 3 months ago by arv (Not doing code reviews)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, extensions-reviews_chromium.org, tfarina, jam, chromium-apps-reviews_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of tryAllocPixels returns bool, allocPixels requires success (patchset #6 id:100001 of https://codereview.chromium.org/545513002/) Reason for revert: Broke Android Tests (dbg) C 427.574s Main [FAIL] org.chromium.content.browser.WebContentsObserverAndroidTest#testDidFirstVisuallyNonEmptyPaint: C 427.574s Main java.util.concurrent.TimeoutException: waitForCallback timed out! C 427.574s Main at org.chromium.content.browser.test.util.CallbackHelper.waitForCallback(CallbackHelper.java:183) C 427.574s Main at org.chromium.content.browser.test.util.CallbackHelper.waitForCallback(CallbackHelper.java:191) C 427.574s Main at org.chromium.content.browser.test.util.CallbackHelper.waitForCallback(CallbackHelper.java:197) C 427.574s Main at org.chromium.content.browser.WebContentsObserverAndroidTest.testDidFirstVisuallyNonEmptyPaint(WebContentsObserverAndroidTest.java:70) C 427.574s Main at java.lang.reflect.Method.invokeNative(Native Method) C 427.574s Main at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) C 427.574s Main at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) C 427.574s Main at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) C 427.574s Main at org.chromium.content_shell_apk.ContentShellTestBase.runTest(ContentShellTestBase.java:227) C 427.574s Main at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) C 427.574s Main at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) C 427.574s Main at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554) C 427.575s Main at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701) Original issue's description: > tryAllocPixels returns bool, allocPixels requires success > > depends on blink CL https://codereview.chromium.org/540033002/ > > TBR=jochen > > Committed: https://chromium.googlesource.com/chromium/src/+/c2e4854d5092fd31e295fdfe06c2463f00c3b0ba TBR=danakj@chromium.org,jochen@chromium.org,reed@chromium.org,reed@google.com NOTREECHECKS=true NOTRY=true

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -35 lines) Patch
M cc/output/software_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/bitmap_content_layer_updater.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_conversion_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/browser_theme_pack.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/fast_show_pickler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/system_ui_resource_manager_impl.cc View 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/common/cursors/webcursor.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cursors/webcursor_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/set_icon_natives.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/skcanvas_video_renderer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M skia/config/SkUserConfig.h View 1 chunk +2 lines, -2 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/bitmap_platform_device_skia.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/skia_utils_ios.mm View 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/skia_utils_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/android/java_bitmap.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M ui/gfx/ipc/gfx_param_traits.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
arv (Not doing code reviews)
Created Revert of tryAllocPixels returns bool, allocPixels requires success
6 years, 3 months ago (2014-09-08 15:37:17 UTC) #1
arv (Not doing code reviews)
FYI keishi
6 years, 3 months ago (2014-09-08 15:37:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/arv@chromium.org/556463002/1
6 years, 3 months ago (2014-09-08 15:38:09 UTC) #4
commit-bot: I haz the power
Failed to apply patch for skia/config/SkUserConfig.h: While running git apply --index -p1; error: patch failed: ...
6 years, 3 months ago (2014-09-08 15:38:56 UTC) #6
arv (Not doing code reviews)
On 2014/09/08 15:38:56, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
6 years, 3 months ago (2014-09-08 15:47:47 UTC) #7
arv (Not doing code reviews)
On 2014/09/08 15:47:47, arv wrote: > On 2014/09/08 15:38:56, I haz the power (commit-bot) wrote: ...
6 years, 3 months ago (2014-09-08 15:59:20 UTC) #8
reed1
Do we think that possibly the change here is problematic? content/browser/android/system_ui_resource_manager_impl.cc : 43 I interpreted ...
6 years, 3 months ago (2014-09-08 18:26:54 UTC) #9
danakj
LOG(FATAL) does indeed crash. On Mon, Sep 8, 2014 at 2:26 PM, <reed@google.com> wrote: > ...
6 years, 3 months ago (2014-09-08 19:07:17 UTC) #10
chromium-reviews
6 years, 3 months ago (2014-09-08 20:59:00 UTC) #11
ah, ok, good.


On Mon, Sep 8, 2014 at 3:06 PM, Dana Jansens <danakj@chromium.org> wrote:

> LOG(FATAL) does indeed crash.
>
>
> On Mon, Sep 8, 2014 at 2:26 PM, <reed@google.com> wrote:
>
>> Do we think that possibly the change here is problematic?
>>
>> content/browser/android/system_ui_resource_manager_impl.cc : 43
>>
>> I interpreted LOGFATAL to be the same as "crash", which is what
>> allocPixels now
>> will do if it fails. If my assumption is wrong, then I can certainly
>> revert this
>> one-line change, and just call "tryAllocPixels" instead...
>>
>> https://codereview.chromium.org/556463002/
>>
>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698