Closed Bug 1113828 Opened 10 years ago Closed 8 years ago

Don't print anything when passing an invalid draw target to CreateDrawTargetForData

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Returning null is an expected property of this function and gfxPlatform::CreateDrawTargetForData() uses this. Removing this message prevents us from printing a bunch of messages during the normal usage of a debug build.
Attachment #8539507 - Flags: review?(bas)
Attachment #8539507 - Attachment is patch: true
Attachment #8539507 - Attachment mime type: text/x-patch → text/plain
Comment on attachment 8539507 [details] [diff] [review]
patch

Review of attachment 8539507 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/layers/opengl/GrallocTextureHost.cpp
@@ -96,4 @@
>    }
>  }
>  
> -GrallocTextureSourceOGL::GrallocTextureSourceOGL(CompositorOGL* aCompositor,

What's this doing in here?
Comment on attachment 8539507 [details] [diff] [review]
patch

Review of attachment 8539507 [details] [diff] [review]:
-----------------------------------------------------------------

Don't forget to remove that bad hunk...
Attachment #8539507 - Flags: review?(bas) → review+
Assignee: nobody → jmuizelaar
https://hg.mozilla.org/mozilla-central/rev/b72055695f3d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: