From 797aa364843869e5a4b780ad5e06241682a2625b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 8 May 2015 22:58:43 -0400 Subject: [PATCH] implement cef_browser_t::get_identifier() --- ports/cef/browser.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/cef/browser.rs b/ports/cef/browser.rs index 876e773712e..0bc3035917e 100644 --- a/ports/cef/browser.rs +++ b/ports/cef/browser.rs @@ -72,6 +72,10 @@ cef_class_impl! { fn get_main_frame(&this,) -> *mut cef_frame_t {{ this.downcast().frame.clone() }} + + fn get_identifier(&this,) -> c_int {{ + this.downcast().id as c_int + }} } }