Fix up handling of inheritance

R=efortuna@google.com

Review URL: https://chromiumcodereview.appspot.com//70443003