Add missing parenthesis in FXARGB_GETDIB macro
authorBo Xu <bo_xu@foxitsoftware.com>
Tue, 21 Oct 2014 19:04:41 +0000 (12:04 -0700)
committerBo Xu <bo_xu@foxitsoftware.com>
Tue, 21 Oct 2014 19:04:41 +0000 (12:04 -0700)
commitf71c2d02294fb3ceb7b19a93a6913f97c4ff2b7a
tree5ad21b6fa0bebff846f1a352d6cdaf23c5bc666a
parentfe4537269fc7133320a5131638757f2ffa6bd854
Add missing parenthesis in FXARGB_GETDIB macro

You can get warning when using FXARGB_GETDIB() with & operation in
the same statement like: FXARGB_GETDIB(src_scan) & 0xffffff in
fx_dib_composite.cpp:

../../third_party/pdfium/core/src/fxge/dib/fx_dib_composite.cpp:737:205:
error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]

Original patch from jiangj@opera.com

R=thakis@chromium.org

Review URL: https://codereview.chromium.org/578253002
AUTHORS
core/include/fxge/fx_dib.h