Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / browser / android / xwalk_dev_tools_server.cc
index 7e79859..c514b1b 100644 (file)
@@ -82,7 +82,7 @@ Target::Target(WebContents* web_contents) {
   id_ = agent_host_->GetId();
   title_ = UTF16ToUTF8(web_contents->GetTitle());
   url_ = web_contents->GetURL();
-  last_activity_time_ = web_contents->GetLastSelectedTime();
+  last_activity_time_ = web_contents->GetLastActiveTime();
 }
 
 // Delegate implementation for the devtools http handler on android. A new