Remove WEBKIT_VERSION_MIN_REQUIRED and config.h.
authorbungeman <bungeman@google.com>
Wed, 29 Jul 2015 21:46:12 +0000 (14:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Jul 2015 21:46:12 +0000 (14:46 -0700)
WebKit style guide (https://www.webkit.org/coding/coding-style.html)
explicitly states:

> All implementation files must #include "config.h" first.
> Header files should never include "config.h".

Also, it isn't currently being used.

TBR=reed@google.com
This just removes unused bits.

Review URL: https://codereview.chromium.org/1256133004

include/core/SkPreConfig.h

index 1e44198..b590825 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Copyright 2006 The Android Open Source Project
  *
@@ -6,17 +5,11 @@
  * found in the LICENSE file.
  */
 
-
 #ifndef SkPreConfig_DEFINED
 #define SkPreConfig_DEFINED
 
-#ifdef WEBKIT_VERSION_MIN_REQUIRED
-    #include "config.h"
-#endif
-
 // Allows embedders that want to disable macros that take arguments to just
 // define that symbol to be one of these
-//
 #define SK_NOTHING_ARG1(arg1)
 #define SK_NOTHING_ARG2(arg1, arg2)
 #define SK_NOTHING_ARG3(arg1, arg2, arg3)