diff options
-rw-r--r-- | webkit/glue/SConscript | 2 | ||||
-rw-r--r-- | webkit/glue/editor_client_impl.cc | 13 |
2 files changed, 2 insertions, 13 deletions
diff --git a/webkit/glue/SConscript b/webkit/glue/SConscript index 88093aa..82ea125 100644 --- a/webkit/glue/SConscript +++ b/webkit/glue/SConscript @@ -18,6 +18,7 @@ if env['PLATFORM'] == 'win32': ) input_files = [ + 'editor_client_impl.cc', 'glue_util.cc', 'image_decoder.cc', 'webkit_glue.cc', @@ -43,7 +44,6 @@ if env['PLATFORM'] == 'win32': 'dom_operations.cc', 'dom_serializer.cc', 'dragclient_impl.cc', - 'editor_client_impl.cc', 'entity_map.cc', 'event_conversion.cc', 'feed_preview.cc', diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc index a3f10e8..ca8f372 100644 --- a/webkit/glue/editor_client_impl.cc +++ b/webkit/glue/editor_client_impl.cc @@ -37,7 +37,7 @@ // unbounded memory. This is the maximum number of distinct undoable // actions -- unbroken stretches of typed characters are coalesced // into a single action. -static const int kMaximumUndoStackDepth = 1000; +static const size_t kMaximumUndoStackDepth = 1000; namespace { @@ -338,17 +338,6 @@ void EditorClientImpl::redo() { } } -// Get the distance we should go (in pixels) when doing a pageup/pagedown. -static int GetVerticalPageDistance(WebCore::KeyboardEvent* event) { - if (event->target()) { - WebCore::Node* node = event->target()->toNode(); - if (node && node->renderer()) - return node->renderer()->contentHeight(); - } - - return 0; -} - // The below code was adapted from the WebKit file webview.cpp // provided by Apple, Inc, and is subject to the following copyright // notice and disclaimer. |