| Index: Source/common/WebFilterOperations.cpp
|
| diff --git a/Source/core/platform/chromium/support/WebFilterOperations.cpp b/Source/common/WebFilterOperations.cpp
|
| similarity index 93%
|
| rename from Source/core/platform/chromium/support/WebFilterOperations.cpp
|
| rename to Source/common/WebFilterOperations.cpp
|
| index 223caf3a7aac4f51080a2bd3697a0fae4cd82421..91ebbbbb8cb0fbae05dae805d89e6a331195b2b8 100644
|
| --- a/Source/core/platform/chromium/support/WebFilterOperations.cpp
|
| +++ b/Source/common/WebFilterOperations.cpp
|
| @@ -24,11 +24,11 @@
|
| */
|
|
|
| #include "config.h"
|
| +#include "public/common/WebFilterOperations.h"
|
|
|
| +#include "public/common/WebFilterOperation.h"
|
| +#include "wtf/Vector.h"
|
| #include <cmath>
|
| -#include "public/platform/WebFilterOperation.h"
|
| -#include "public/platform/WebFilterOperations.h"
|
| -#include <wtf/Vector.h>
|
|
|
| namespace WebKit {
|
|
|
| @@ -100,10 +100,10 @@ void WebFilterOperations::getOutsets(int& top, int& right, int& bottom, int& lef
|
| bottom += spread;
|
| left += spread;
|
| } else {
|
| - top += spread - op.dropShadowOffset().y;
|
| - right += spread + op.dropShadowOffset().x;
|
| - bottom += spread + op.dropShadowOffset().y;
|
| - left += spread - op.dropShadowOffset().x;
|
| + top += spread - op.dropShadowOffsetY();
|
| + right += spread + op.dropShadowOffsetX();
|
| + bottom += spread + op.dropShadowOffsetY();
|
| + left += spread - op.dropShadowOffsetX();
|
| }
|
| }
|
| }
|
|
|