webengine/osswebengine/WebCore/platform/symbian/SharedTimerSymbian.cpp
branchRCL_3
changeset 48 79859ed3eea9
parent 47 e1bea15f9a39
child 49 919f36ff910f
equal deleted inserted replaced
47:e1bea15f9a39 48:79859ed3eea9
    20 #include "SharedTimer.h"
    20 #include "SharedTimer.h"
    21 #include <wtf/Assertions.h>
    21 #include <wtf/Assertions.h>
    22 #include <e32std.h>
    22 #include <e32std.h>
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <Timer.h>
    24 #include <Timer.h>
    25 #include <kjs_window.h>
    25 
    26 static TInt64 remainingMicro = 0;
    26 static TInt64 remainingMicro = 0;
    27 static bool shutdownInProgress = false;
    27 static bool shutdownInProgress = false;
    28 
    28 
    29 namespace WebCore {
    29 namespace WebCore {
    30 
    30 
   121 void shutdownSharedTimer()
   121 void shutdownSharedTimer()
   122     {
   122     {
   123     shutdownInProgress = true;
   123     shutdownInProgress = true;
   124     stopSharedTimer();
   124     stopSharedTimer();
   125     TimerBase::deleteTimerHeap();
   125     TimerBase::deleteTimerHeap();
   126         
       
   127     KJS::shutdownJSTimer();
       
   128     }
   126     }
   129 
   127 
   130 void initSharedTimer()
   128 void initSharedTimer()
   131     {
   129     {
   132     shutdownInProgress = false;
   130     shutdownInProgress = false;