summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-07-07 11:29:16 -0400
committerDerek Sollenberger <djsollen@google.com>2009-07-07 12:46:34 -0400
commitba11d034d7050033f698b2bc3a3c156e062ba2dd (patch)
treedeec578afdc98369f89a79519bc5d3fa52397edb /WebKit
parente7e9096e60607e1d7da272c331f7a8edc8b5ef78 (diff)
downloadexternal_webkit-ba11d034d7050033f698b2bc3a3c156e062ba2dd.zip
external_webkit-ba11d034d7050033f698b2bc3a3c156e062ba2dd.tar.gz
external_webkit-ba11d034d7050033f698b2bc3a3c156e062ba2dd.tar.bz2
fixing a typo in the android plugin api.
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/jni/WebViewCore.cpp2
-rw-r--r--WebKit/android/plugins/android_npapi.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp
index c83a465..f60b6b5 100644
--- a/WebKit/android/jni/WebViewCore.cpp
+++ b/WebKit/android/jni/WebViewCore.cpp
@@ -1226,7 +1226,7 @@ void WebViewCore::updatePluginState(Frame* frame, Node* node, PluginState state)
SkANP::InitEvent(&event, kLifecycle_ANPEventType);
if (state == kLoseFocus_PluginState)
- event.data.lifecycle.action = kLooseFocus_ANPLifecycleAction;
+ event.data.lifecycle.action = kLoseFocus_ANPLifecycleAction;
else if (state == kGainFocus_PluginState)
event.data.lifecycle.action = kGainFocus_ANPLifecycleAction;
else
diff --git a/WebKit/android/plugins/android_npapi.h b/WebKit/android/plugins/android_npapi.h
index daae138..fd49eb8 100644
--- a/WebKit/android/plugins/android_npapi.h
+++ b/WebKit/android/plugins/android_npapi.h
@@ -748,7 +748,7 @@ enum ANPLifecycleActions {
kPause_ANPLifecycleAction = 0,
kResume_ANPLifecycleAction = 1,
kGainFocus_ANPLifecycleAction = 2,
- kLooseFocus_ANPLifecycleAction = 3,
+ kLoseFocus_ANPLifecycleAction = 3,
kFreeMemory_ANPLifecycleAction = 4,
};
typedef uint32_t ANPLifecycleAction;