| Index: webkit/glue/webview_impl.cc
|
| ===================================================================
|
| --- webkit/glue/webview_impl.cc (revision 27652)
|
| +++ webkit/glue/webview_impl.cc (working copy)
|
| @@ -131,7 +131,9 @@
|
| // for some programs that use HTML views to display things that don't seem like
|
| // web pages to the user (so shouldn't have visited link coloring). We only use
|
| // one page group.
|
| -static const char* kPageGroupName = "default";
|
| +// FIXME: This needs to go into the WebKit API implementation and be hidden
|
| +// from the API's users.
|
| +const char* pageGroupName = "default";
|
|
|
| // Ensure that the WebKit::WebDragOperation enum values stay in sync with
|
| // the original WebCore::DragOperation constants.
|
| @@ -361,13 +363,13 @@
|
| // static
|
| void WebView::UpdateVisitedLinkState(uint64 link_hash) {
|
| WebCore::Page::visitedStateChanged(
|
| - WebCore::PageGroup::pageGroup(kPageGroupName), link_hash);
|
| + WebCore::PageGroup::pageGroup(pageGroupName), link_hash);
|
| }
|
|
|
| // static
|
| void WebView::ResetVisitedLinkState() {
|
| WebCore::Page::allVisitedStateChanged(
|
| - WebCore::PageGroup::pageGroup(kPageGroupName));
|
| + WebCore::PageGroup::pageGroup(pageGroupName));
|
| }
|
|
|
|
|
| @@ -414,7 +416,7 @@
|
| NULL));
|
|
|
| page_->backForwardList()->setClient(&back_forward_list_client_impl_);
|
| - page_->setGroupName(kPageGroupName);
|
| + page_->setGroupName(pageGroupName);
|
| }
|
|
|
| WebViewImpl::~WebViewImpl() {
|
|
|