Changeset 93597 in webkit


Ignore:
Timestamp:
Aug 23, 2011 6:07:19 AM (13 years ago)
Author:
steveblock@google.com
Message:

Remove last occurrences of PLATFORM(ANDROID)
https://bugs.webkit.org/show_bug.cgi?id=66763

Reviewed by Tony Gentilcore.

Source/JavaScriptCore:

  • wtf/Platform.h:

Source/WebCore:

No new tests, removing dead code only.

  • bindings/v8/V8GCController.cpp:

(WebCore::V8GCController::checkMemoryUsage):

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r93594 r93597  
     12011-08-23  Steve Block  <steveblock@google.com>
     2
     3        Remove last occurrences of PLATFORM(ANDROID)
     4        https://bugs.webkit.org/show_bug.cgi?id=66763
     5
     6        Reviewed by Tony Gentilcore.
     7
     8        * wtf/Platform.h:
     9
    1102011-08-23  Steve Block  <steveblock@google.com>
    211
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r93466 r93597  
    613613#endif
    614614
    615 #if PLATFORM(ANDROID)
    616 #define WTF_USE_PTHREADS 1
    617 #define USE_SYSTEM_MALLOC 1
    618 #define ENABLE_JAVA_BRIDGE 1
    619 #define LOG_DISABLED 1
    620 /* Prevents Webkit from drawing the caret in textfields and textareas
    621    This prevents unnecessary invals. */
    622 #define ENABLE_TEXT_CARET 1
    623 #define ENABLE_JAVASCRIPT_DEBUGGER 0
    624 #if !defined(ENABLE_JIT) && !ENABLE(ANDROID_JSC_JIT)
    625 #define ENABLE_JIT 0
    626 #endif
    627 #endif
    628 
    629615#if PLATFORM(WIN) && !OS(WINCE)
    630616#define WTF_USE_CF 1
  • trunk/Source/WebCore/ChangeLog

    r93596 r93597  
     12011-08-23  Steve Block  <steveblock@google.com>
     2
     3        Remove last occurrences of PLATFORM(ANDROID)
     4        https://bugs.webkit.org/show_bug.cgi?id=66763
     5
     6        Reviewed by Tony Gentilcore.
     7
     8        No new tests, removing dead code only.
     9
     10        * bindings/v8/V8GCController.cpp:
     11        (WebCore::V8GCController::checkMemoryUsage):
     12
    1132011-08-23  Steve Block  <steveblock@google.com>
    214
  • trunk/Source/WebCore/bindings/v8/V8GCController.cpp

    r93573 r93597  
    469469    const int highUsageMB = 1024;  // If memory usage is above this threshold, force GC more aggresively.
    470470    const int highUsageDeltaMB = 128;  // Delta of memory usage growth (vs. last workingSetEstimateMB) to force GC when memory usage is high.
    471 #elif PLATFORM(ANDROID)
    472     // Query the PlatformBridge for memory thresholds as these vary device to device.
    473     static const int lowUsageMB = PlatformBridge::lowMemoryUsageMB();
    474     static const int highUsageMB = PlatformBridge::highMemoryUsageMB();
    475     // We use a delta of -1 to ensure that when we are in a low memory situation we always trigger a GC.
    476     static const int highUsageDeltaMB = -1;
    477471#else
    478472    return;
Note: See TracChangeset for help on using the changeset viewer.