Closed
Bug 916259
Opened 11 years ago
Closed 11 years ago
Make it easier to dump layer tree from opt & mobile
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: BenWa, Assigned: BenWa)
Details
Attachments
(1 file, 1 obsolete file)
1.11 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
With this patch you can just uncomment #define MOZ_LAYERS_HAVE_LOG
Attachment #804630 -
Flags: review?(jmuizelaar)
Comment 1•11 years ago
|
||
Comment on attachment 804630 [details] [diff] [review] patch Review of attachment 804630 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/layers/Layers.cpp @@ +1225,1 @@ > } How about just: if (aFile) { fprintf(aFile, "%s\n", str.get()); } else { printf_stderr("%s\n", str.get()); } instead of the #ifdef ANDROID stuff?
Attachment #804630 -
Flags: review?(jmuizelaar) → review-
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → bgirard
Attachment #804630 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #805357 -
Flags: review?(jmuizelaar)
Comment 3•11 years ago
|
||
Comment on attachment 805357 [details] [diff] [review] patch Review of attachment 805357 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/layers/Layers.cpp @@ +1216,5 @@ > PrintInfo(str, aPrefix); > + if (!aFile || aFile == stderr) { > + printf_stderr("%s\n", str.get()); > + } else { > + fprintf(FILEOrDefault(aFile), "%s\n", str.get()); fprintf(aFile, FILEOrDefault just checks aFile again
Attachment #805357 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/211d895e70d1
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/211d895e70d1
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•