Last Comment Bug 777657 - Fix some opt build warnings
: Fix some opt build warnings
Product: Core
Classification: Components
Component: Graphics: Layers (show other bugs)
: unspecified
: All All
-- normal (vote)
: mozilla17
Assigned To: David Zbarsky (:dzbarsky)
: Milan Sreckovic [:milan]
Depends on:
  Show dependency treegraph
Reported: 2012-07-26 01:44 PDT by David Zbarsky (:dzbarsky)
Modified: 2012-07-27 08:15 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch (2.20 KB, patch)
2012-07-26 01:44 PDT, David Zbarsky (:dzbarsky)
cjones.bugs: review+
Details | Diff | Splinter Review

Description User image David Zbarsky (:dzbarsky) 2012-07-26 01:44:51 PDT
Created attachment 646063 [details] [diff] [review]
Comment 1 User image Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-07-26 02:40:22 PDT
Comment on attachment 646063 [details] [diff] [review]

>--- a/layout/ipc/RenderFrameParent.cpp
>+++ b/layout/ipc/RenderFrameParent.cpp
> static bool

Mark this |inline static bool| to work around compiler warning.  It'll
be DCE'd since it's translation-unit static.  (ifdef's should only be
used as a last resort.)

r=me with that
Comment 2 User image Ed Morley [:emorley] 2012-07-27 08:15:10 PDT

Note You need to log in before you can comment on or make changes to this bug.