Make each class only have one weak map

This commit is contained in:
Cheng Zhao 2015-06-24 17:58:12 +08:00
parent 28d1fb8cad
commit cc8b22b5ff
10 changed files with 130 additions and 65 deletions

View file

@ -46,7 +46,7 @@ struct SetSizeParams {
scoped_ptr<gfx::Size> normal_size;
};
class WebContents : public mate::TrackableObject,
class WebContents : public mate::TrackableObject<WebContents>,
public content::BrowserPluginGuestDelegate,
public CommonWebContentsDelegate,
public content::WebContentsObserver,